Hey Nicholas T, It seems like you got to answer some of the questions correctly based on your logical thinking and guesses. I got to watch your most of the answers and I am sure that you got it correct for more than 5. Kudos!!.
@@nicholast I think you got either 8 or 9 out of 15. Congrats! But don't take my word for it because I didn't know the answer/forgot the answer to some of these questions as well lol. Python is the language I learned in school, but Java is my main language since I have been using it for longer (and I prefer it over Python ahaha).
@@nicholast Python lets you use semicolons if you want to but it's generally frowned upon. They're not really useful for anything other than writing multiple statements on a single line like a crazy person.
9/15 correct 1. WRONG! This you could’ve gotten correct had you not misread the question. Constants are all uppercase with underscores to separate words 2. WRONG! defaultdicts allow you to specify a generator that will initialise keys that are missing. 3. WRONG! namedtuples are a subclass of tuple, however they are iterable like tuples 4. CORRECT! 5. CORRECT! 6. CORRECT! 7. WRONG! Generators are used to generate values with an iterator. The generator returns an iterator. 8. CORRECT! 9. CORRECT! 10. CORRECT! 11. CORRECT! 12. WRONG! Attributes hold data or describe a state for a class or an instance of a class. 13. CORRECT! 14. WRONG! Sets are defined similar to lists, but using curly brackets. 15. CORRECT!
Is 15 really correct though? Option D makes sense, and self really isn't a keyword. You can call your instance foo if you want to, the instance is just the first argument to a method.
@@lokeshchandak3660 D refers to self as a method, which immediately disqualifies it. Additionally, self is the convention. While you could call it something else, it would still be referred to as self.
Some questions have mistakes. A generator doesn't return an iterable object, it returns an iterator, which is different. Also, 'self' is not a keyword in Python, it's a convention, you can choose to use an argument called 'this' or 'me' or 'instance' if you want to be hated by whoever maintains the code.
I would even take issue with that. A generator doesn't return anything since it's not callable. What the question probably means is, "What does a generator FUNCTION return?" The answer is "a generator" or "an iterable".
I was a physics major my first 3 years of college until I started applying for research positions and internships, but literally every single position was asking for extensive programming experience in Python. I took a basic programming class in highschool which used python, but I fucking hated it. That's when I realized that all they wanted were programmers and didn't actually care about your physics background. Now in my senior year and I'm no longer a physics major.
funny how my first language is python and I am seeing a cs student being worried about it. honestly respect though like you learned both javas and c before python like dang
This was really entertaining to me (someone who knows python) cause especially with the syntax questions I could just point at it and be like “oh I know this one!”
Python was the very first programming language I learned. I used it for everything. It was the best way to learn it. Just making programs to do different things. There really is no limit to what it can do.
@@ethanquenum4778 Nope. You’d get a syntax error and the baby would be vacuumed back into the womb unfortunately. Try using function name ‘ birth_port’
Key takeaways from this lesson 1. If you don't know the answer go with option C 2. Go with the longest option if available 3. Never do test on linkedin, you won't know you passed or failed 😅 (hello hello linkedin)
Score 9/15 I don't think you passed but you got more than half, so not too bad :D . I added the correction for anyone who's interested. Q1: Your answer: A Correct answer: C I think you figured it out yourself when editing the video Q2: Your answer: C Correct answer: A Basically a defaultdict creates a default value for a key if you try to access a key that doesn't exist. (i.e with a regular dict if I do a = my_dict["new_key"] it'll throw a KeyError if I have a defaultdict(int) then a = my_defaultdict["new_key"] will assign 0 to a) Q3: Your answer: C Correct answer: B You can iterate over a named tuple just like a regular tuples. (tuples are immutable collections, a regular tuple is basically an immutable list and a namedtuple is basically an immutable dict) Q4: Your answer: D Correct answer: D I would imagine this is pretty much the same in every language Q5: Your answer: C Correct answer: C Not much to say about this one Q6: Your answer: B Correct answer: B Q7: Your answer: D Correct answer: A A generator returns an iterable object that will generate data as you iterate unlike say a list where the data is already in memory Q8: Your answer: C Correct answer: C Q9: Your answer: C Correct answer: C (I think) Not 100% sure on this one but if I had to implement a stack in python I would use a list to store the data Q10: Your answer: B Correct answer: B A list conmprehension is a way to instantiate lists, basically you put a for in loop in square brackets and you get a list of whatever is before the for (x in this case) Q11: Your answer: A Correct answer: A More of a CS question that an python question Q12: Your answer: A Correct answer: B Attributes are just class instance variables you can access them using self.my_attribute Q13: Your answer: B Correct answer: B classmethods are what other languages might call static methods Q14: Your answer: C Correct answer: D It's kind of mean trick question. Especially if you consider that my_set = set((0, 'apple', 3.5)) or my_set = set([0, 'apple', 3.5]) would also work. This is usually how I write them since sets are not that common so a newer dev might get confused with the curly brace notation. Q15: Your answer: A Correct answer: A Yup 'self' is like 'this'
"Not 100% sure on this one but if I had to implement a stack in python I would use a list to store the data". You are correct, btw. The stack just wants O(1) push and pop, which the python list has (amortized push since the container is scalable here). There's also collections.deque, but that wasn't a choice here.
there is just so much you can do with python that its ACTUALLY INSANE i gotta get on it and make some stuff with it. i have found myself having many plans with python and i hope i can do with them well WISH ME LUCK! :)
Wow, your thinking process is the exact same as mine! This is how I would have attempted the quiz if I were to do it, especially without any experience in Python because I like playing word games with the instance names and built-in functions. For example, when I think in JavaScript about .pop(), I think about popping a balloon and all that would be left is which balloon out of all the array elements?... This was a very fun and entertaining video and I love your channel bro! :)
I am a mainframe COBOL programmer and i worked with JAVA. I think my son know Python and worked with Python in UCSC after he graduated as Software Engineer II for IoT. May be for him it's easy but for me it's hard ...:-) You can link to me in linkedin.
Also so many of these questions are awful. No one would use list comprehensions for getting the keys. dict_name.keys() Is already an iterative and you can cast it to a list with list(dict_name.keys())
So here are all the explanations (with answers) of these questions, if anyone is curious: QUESTION 1: PEP is short for Python Enhancement Proposal. The eighth PEP (PEP 8) is a style guide suggestion which goes about recommendations for the use of white space, variable naming and general determinations in order to generate consistency. According to PEP 8, constant values should be named in all caps, with words separated by underscores. The correct answer is the third option. QUESTION 2: defaultdict is basically the same as a normal dictionary, except it NEVER raises a KeyError (unlike a normal dictionary) and instead lets you provide a default value which will be assigned to any key you try to access in case it doesn't exist (of course, the key will be created for the value to be assigned). The correct answer is the first option. QUESTION 3: namedtuple will take a collection type (the built-in containers are dictionaries, lists, sets and tuples) and return a tuple subclass object with named fields. Since we are talking about a collection which inherits from a tuple, the returned object will be iterable. The correct answer is the second option. QUESTION 4: the phrasing is a little bit strange here and could actually lead people to answer "parameters" instead of "arguments" if you had to type out the answer. But yes, you are correct. They are called arguments in Python just like in most languages. QUESTION 5: in Python, accessing dictionary keys is like accessing items by index in an array (however, because dictionaries use key-value pairs, you access them using their keys instead of their index). After accessing it, you can change its value as shown in the correct option, which is the third one. QUESTION 6: if you try to access an unexisting key in a dictionary in Python and assign it a value, Python will actually create that key and assign the given value to it, instead of raising an error. As said before, this would be done be accessing the key as if it were an index and using common assignment with the equals sign. The correct answer is the second option. QUESTION 7: generators return what we call lazy iterators. I can't do any further explanation without going too much into detail for a question, so I suggest you guys search about it on Google, there's plenty of info and it's not a hard concept at all. Correct answer is the first option. QUESTION 8: the syntax for lists uses square brackets ("[ ]"). Correct answer is the third option. QUESTION 9: I believe lists would fit just right for the task. There are functions to append and get values to/from the end of the list, enough to suffice as a stack. Other built-in data types are too limited to be used as stacks. Correct answer: third option. QUESTION 10: in Python, you can define lists using list comprehensions in the same way you can use set-builder notation in Sets in maths to define sets (you do it by rule, not by value). The correct answer here is the second option, which is syntactically correct. QUESTION 11: sets are unordered and, just like in maths, their collection presents unique values (there can't be two equivalent values in a set). Lists, however, are indexed and ordered as arrays and can have multiple equivalent values. The correct answer is the first option. QUESTION 12: here, the correct answer would be option three. Attributes are basically class variables. They can be shared by the entire class and its objects or be unique to objects, thus, can hold data or describe a state for a class or an instance (object) of a class. QUESTION 13: a class method is a class which is bound to the class and not its objects. The correct answer is the second option. QUESTION 14: set definitions are like lists, but use curly braces instead. The correct answer is the last option. QUESTION 15: self represents the instance (object) of a class and gives us access to its methods. The correct answer is the first option.
Those types of elitists who hate on scripting languages are so obnoxious! Also, anybody who's coded in scripting languages and knows object orientation well enough can learn langs like Java or C# pretty easily (easier than I thought when I started learning them). C++ is a different story since it's not memory managed and has such a large feature set but it's still possible too. Ignore those people.
Python is a pain in the ass. Not content with totally breaking the syntax from 2.7 to 3, it's the year 2021 and we still have a language that gets upset over spaces vs tabs. That's like 1980s level of nonsense. It's just such a massive, verbose faff to get the basics done and you're always told by some neckbeard that your code is not "Pythonic" enough. I also find that I just can't "learn" Python, in that I can't ever remember the syntax or how to do the basics. Such a load of balls. Hate it.
7 out of 15. 3 of them you just guessed right. Amazingly, that one where you said "the longest answer is likely right" was the right answer. :P I'm guessing 7 out of 15 would not get you in the top 30%, so no great loss that it failed to complete. ;)
That question with "self" was a bit weird, while its is in fact how u call the argument that stores reference to instance, it's not rly a syntax. So u can call it however u want and the 1st argument in method will always store that reference. Also u can add decorators to change methods into classmethods so that 1st argument will now hold reference to class instead of instance and while usually u call it "cls" u could leave it on "self" which would mean that "self" now holds a reference to the class. U could even make the method static and no reference would be passed and "self" or "cls" would just be normal method arguments with no special meaning.
your score is 7/15 you failer sorry to say well i do not know much about dart anf pearl but the java, python c c++,go and pascal forton cobon. thankyou
I also use C++ (and C) very often. I think it's because Python has so much bloat to it. There are so many things/features within the language it's overwhelming to me. Sometimes I just like to crawl back into C where there aren't 500 different flashy things in my face.
honestly, these things are bs haha. i took a c assessment, didn't really know c, but knew older c++ and modern python, somehow passed. it's not really a good measure of what you know and what you don't. plus, years ago i took a python one, passed it, but now I know more and want to retake it; it wont let me.
tries the Python test on Linkedin without knowing python, Tries to guess all the questions. Tries to submit an answer to a question and fails because of Linkedin. Tries to submit the test to see if he passes or not and gets an error page instead. Yeah, this is normal :D
I started using Java as my first programming language and I am so used to it that Python (coding in vscode with ms' extensions) is hard for me, I got many errors on run I even asked chatgpt what the issue is but it gave me no solution. On Java is usually easy to know where the issue is because the ide tells you everything, some people make fun of Java about NullPointerException but last time I got that was a year ago, it's very uncommon and compared with Python errors it's irrelevant.
dear nicholas t. : i got your apology for trampling on my python. you know nothing about my python, or else it's stud guard. But congrats todzog chen group there will be 100% fulfillment for herat least 2wice a sun.
If you know python, then please let me know if I passed 😂
I passed with a C tho. But it was hard!
I don't so haha, I did skip through the vid a bit but saw more then a few incorrect
I don’t really know python but snakes are not at all unknown to me … like my old English teacher, she’s one of them…
You know all other Languages, know the logic so you are good to go with Python!😀 Coz python is English...😅
Hey Nicholas T,
It seems like you got to answer some of the questions correctly based on your logical thinking and guesses. I got to watch your most of the answers and I am sure that you got it correct for more than 5. Kudos!!.
"A generator; probably it generates something." - Nicholas T, 2021
Truly big brain
@@nicholast generate_count++ and I actually think you got at least 5 correct
@@deltax4652 but did I pass (8+/15)??
@@nicholast I think you got either 8 or 9 out of 15. Congrats! But don't take my word for it because I didn't know the answer/forgot the answer to some of these questions as well lol. Python is the language I learned in school, but Java is my main language since I have been using it for longer (and I prefer it over Python ahaha).
@@deltax4652 I get to celebrate now 🥳
Python is easy to learn and somewhat difficult to master. Partly because it's just so big.
the wide range of uses!
Just like any other programming language.
@@lowrhyan567 no. Some programming languages are both difficult to learn and master, particularly for beginners.
"Python is easy to learn and somewhat difficult to master. Partly because it's just so big. "
Brainfuck: "Hold my beer"
Bit like your mom!
going from the c family to python:
so where do I put the semicolons...?
LOL it just doesn’t feel right without semicolons 😤😤
Welcome to indention. Python codes broke when in different text encoding.
@@nicholast Python lets you use semicolons if you want to but it's generally frowned upon. They're not really useful for anything other than writing multiple statements on a single line like a crazy person.
@@TheRyulord "import pdb; pdb.set_trace()" is a godsend
2nd week of learning python and I go reeeeee when my break statements are left naked without semicolons :'(
9/15 correct
1. WRONG! This you could’ve gotten correct had you not misread the question. Constants are all uppercase with underscores to separate words
2. WRONG! defaultdicts allow you to specify a generator that will initialise keys that are missing.
3. WRONG! namedtuples are a subclass of tuple, however they are iterable like tuples
4. CORRECT!
5. CORRECT!
6. CORRECT!
7. WRONG! Generators are used to generate values with an iterator. The generator returns an iterator.
8. CORRECT!
9. CORRECT!
10. CORRECT!
11. CORRECT!
12. WRONG! Attributes hold data or describe a state for a class or an instance of a class.
13. CORRECT!
14. WRONG! Sets are defined similar to lists, but using curly brackets.
15. CORRECT!
thank you for grading this
Is 15 really correct though? Option D makes sense, and self really isn't a keyword. You can call your instance foo if you want to, the instance is just the first argument to a method.
@@lokeshchandak3660 D refers to self as a method, which immediately disqualifies it. Additionally, self is the convention. While you could call it something else, it would still be referred to as self.
Are you sure about 11th? I'm pretty sure that lists are not ordered and neither are sets.
@@Psyhister lists are ordered. That’s a pretty important fact about lists.
Some questions have mistakes. A generator doesn't return an iterable object, it returns an iterator, which is different. Also, 'self' is not a keyword in Python, it's a convention, you can choose to use an argument called 'this' or 'me' or 'instance' if you want to be hated by whoever maintains the code.
In new versions of python, a set is also ordered and not unordered.
I would even take issue with that. A generator doesn't return anything since it's not callable. What the question probably means is, "What does a generator FUNCTION return?" The answer is "a generator" or "an iterable".
@@Belissimo-T I’ve learned Python after that change, so I was actually confused about that. Thanks for the clarification.
I was a physics major my first 3 years of college until I started applying for research positions and internships, but literally every single position was asking for extensive programming experience in Python. I took a basic programming class in highschool which used python, but I fucking hated it. That's when I realized that all they wanted were programmers and didn't actually care about your physics background. Now in my senior year and I'm no longer a physics major.
Did you switch to CS?
funny how my first language is python and I am seeing a cs student being worried about it. honestly respect though like you learned both javas and c before python like dang
haha yea a lot of ppl learn python first and yet i still dk it
This was really entertaining to me (someone who knows python) cause especially with the syntax questions I could just point at it and be like “oh I know this one!”
I code in python to automate the checking of my students' works but I can't answer any of these questions LOL
they were hard
Python was the very first programming language I learned. I used it for everything. It was the best way to learn it. Just making programs to do different things. There really is no limit to what it can do.
python is so versatile
But can you automate child delivery with Python?
@@ethanquenum4778 Absolutely. Simply make a class called __vagina__ and make a delivery function callable through that class.
@@numberiforgot Thanks for the tips man. But wait... "_vagina_"? Is that a valid syntax for a class in Python?
@@ethanquenum4778 Nope. You’d get a syntax error and the baby would be vacuumed back into the womb unfortunately. Try using function name
‘ birth_port’
Oh man, didn't expect to see Racket on the list of languages you know,
It is always just surprising to see a LISP in the wild.
Also wonderful video
it was used in a textbook taught in lots of cs101 classes across universities nowadays
Key takeaways from this lesson
1. If you don't know the answer go with option C
2. Go with the longest option if available
3. Never do test on linkedin, you won't know you passed or failed 😅 (hello hello linkedin)
amazing learnings 😂
This made me try the test and I thought I smashed it until
"Your score is in the bottom 30%"
Thank you for telling python is hard! Finally.
Score 9/15
I don't think you passed but you got more than half, so not too bad :D . I added the correction for anyone who's interested.
Q1:
Your answer: A
Correct answer: C
I think you figured it out yourself when editing the video
Q2:
Your answer: C
Correct answer: A
Basically a defaultdict creates a default value for a key if you try to access a key that doesn't exist. (i.e with a regular dict if I do a = my_dict["new_key"] it'll throw a KeyError if I have a defaultdict(int) then a = my_defaultdict["new_key"] will assign 0 to a)
Q3:
Your answer: C
Correct answer: B
You can iterate over a named tuple just like a regular tuples. (tuples are immutable collections, a regular tuple is basically an immutable list and a namedtuple is basically an immutable dict)
Q4:
Your answer: D
Correct answer: D
I would imagine this is pretty much the same in every language
Q5:
Your answer: C
Correct answer: C
Not much to say about this one
Q6:
Your answer: B
Correct answer: B
Q7:
Your answer: D
Correct answer: A
A generator returns an iterable object that will generate data as you iterate unlike say a list where the data is already in memory
Q8:
Your answer: C
Correct answer: C
Q9:
Your answer: C
Correct answer: C (I think)
Not 100% sure on this one but if I had to implement a stack in python I would use a list to store the data
Q10:
Your answer: B
Correct answer: B
A list conmprehension is a way to instantiate lists, basically you put a for in loop in square brackets and you get a list of whatever is before the for (x in this case)
Q11:
Your answer: A
Correct answer: A
More of a CS question that an python question
Q12:
Your answer: A
Correct answer: B
Attributes are just class instance variables you can access them using self.my_attribute
Q13:
Your answer: B
Correct answer: B
classmethods are what other languages might call static methods
Q14:
Your answer: C
Correct answer: D
It's kind of mean trick question. Especially if you consider that my_set = set((0, 'apple', 3.5)) or my_set = set([0, 'apple', 3.5]) would also work. This is usually how I write them since sets are not that common so a newer dev might get confused with the curly brace notation.
Q15:
Your answer: A
Correct answer: A
Yup 'self' is like 'this'
"Not 100% sure on this one but if I had to implement a stack in python I would use a list to store the data". You are correct, btw. The stack just wants O(1) push and pop, which the python list has (amortized push since the container is scalable here). There's also collections.deque, but that wasn't a choice here.
absolute chad for explaining for idiots like me
@@alexwilson2537 Hey, chill. We all start from somewhere. I also knows nothing in python and just take this as entertainment/learning process.
Wow ! Kudos !!
thank you for your service kind sir
If this isn't the most accurate shit ever I don't know what is bruh.
dont know Python but ME jump right to py game with reinforcement learning lolol
After watching this video I think I still have a lot to learn in python.
same
@@nicholast 😂
there is just so much you can do with python that its ACTUALLY INSANE i gotta get on it and make some stuff with it. i have found myself having many plans with python and i hope i can do with them well WISH ME LUCK! :)
Good luck!
I guess I just found the best RUclips channel ever.
Send me the link I wanna know too 🤔
Wow, your thinking process is the exact same as mine! This is how I would have attempted the quiz if I were to do it, especially without any experience in Python because I like playing word games with the instance names and built-in functions. For example, when I think in JavaScript about .pop(), I think about popping a balloon and all that would be left is which balloon out of all the array elements?... This was a very fun and entertaining video and I love your channel bro! :)
I am a mainframe COBOL programmer and i worked with JAVA. I think my son know Python and worked with Python in UCSC after he graduated as Software Engineer II for IoT. May be for him it's easy but for me it's hard ...:-) You can link to me in linkedin.
Yes python is hard. I have been using C++ for 25 years. So thats easy for me.
lmao I like to code in python still am confused on the answers.😂
Also so many of these questions are awful. No one would use list comprehensions for getting the keys. dict_name.keys() Is already an iterative and you can cast it to a list with list(dict_name.keys())
Python is cool, but I still have no idea why people call it "readable". Compared to a bracket-based language it's really not.
absolutly agree
Yeah, c# is way more readable to me. I started in Python but I really like C# now.
@@OrgBrent same with me and java, i started with python but i feel as if java is easier to read.
So here are all the explanations (with answers) of these questions, if anyone is curious:
QUESTION 1: PEP is short for Python Enhancement Proposal. The eighth PEP (PEP 8) is a style guide suggestion which goes about recommendations for the use of white space, variable naming and general determinations in order to generate consistency. According to PEP 8, constant values should be named in all caps, with words separated by underscores. The correct answer is the third option.
QUESTION 2: defaultdict is basically the same as a normal dictionary, except it NEVER raises a KeyError (unlike a normal dictionary) and instead lets you provide a default value which will be assigned to any key you try to access in case it doesn't exist (of course, the key will be created for the value to be assigned). The correct answer is the first option.
QUESTION 3: namedtuple will take a collection type (the built-in containers are dictionaries, lists, sets and tuples) and return a tuple subclass object with named fields. Since we are talking about a collection which inherits from a tuple, the returned object will be iterable. The correct answer is the second option.
QUESTION 4: the phrasing is a little bit strange here and could actually lead people to answer "parameters" instead of "arguments" if you had to type out the answer. But yes, you are correct. They are called arguments in Python just like in most languages.
QUESTION 5: in Python, accessing dictionary keys is like accessing items by index in an array (however, because dictionaries use key-value pairs, you access them using their keys instead of their index). After accessing it, you can change its value as shown in the correct option, which is the third one.
QUESTION 6: if you try to access an unexisting key in a dictionary in Python and assign it a value, Python will actually create that key and assign the given value to it, instead of raising an error. As said before, this would be done be accessing the key as if it were an index and using common assignment with the equals sign. The correct answer is the second option.
QUESTION 7: generators return what we call lazy iterators. I can't do any further explanation without going too much into detail for a question, so I suggest you guys search about it on Google, there's plenty of info and it's not a hard concept at all. Correct answer is the first option.
QUESTION 8: the syntax for lists uses square brackets ("[ ]"). Correct answer is the third option.
QUESTION 9: I believe lists would fit just right for the task. There are functions to append and get values to/from the end of the list, enough to suffice as a stack. Other built-in data types are too limited to be used as stacks. Correct answer: third option.
QUESTION 10: in Python, you can define lists using list comprehensions in the same way you can use set-builder notation in Sets in maths to define sets (you do it by rule, not by value). The correct answer here is the second option, which is syntactically correct.
QUESTION 11: sets are unordered and, just like in maths, their collection presents unique values (there can't be two equivalent values in a set). Lists, however, are indexed and ordered as arrays and can have multiple equivalent values. The correct answer is the first option.
QUESTION 12: here, the correct answer would be option three. Attributes are basically class variables. They can be shared by the entire class and its objects or be unique to objects, thus, can hold data or describe a state for a class or an instance (object) of a class.
QUESTION 13: a class method is a class which is bound to the class and not its objects. The correct answer is the second option.
QUESTION 14: set definitions are like lists, but use curly braces instead. The correct answer is the last option.
QUESTION 15: self represents the instance (object) of a class and gives us access to its methods. The correct answer is the first option.
thank you for your service
8:30 "What is this syntax?"
Syntactic "sugar" for a simple λ
Python is the new PHP - easy to start so everybody jump on it. Then it does not make sense for any bigger/maintainable development.
I've never used python and this video demonstrates why python makes no sense
Facts
It would be ironic if the quiz itself was written in python!
Idk if that qualifies as irony.
When you only do python while watching this. Trying not to scream at the screen right now XD
I constantly get mocked by java developers for using python 😂
Those types of elitists who hate on scripting languages are so obnoxious! Also, anybody who's coded in scripting languages and knows object orientation well enough can learn langs like Java or C# pretty easily (easier than I thought when I started learning them). C++ is a different story since it's not memory managed and has such a large feature set but it's still possible too. Ignore those people.
Lmfao don't lie it's always the other way around
@@theshermantanker7043 No it is true. I tought myself python and when I got on the university I felt like I was learning a toy language (python).
Python is a pain in the ass. Not content with totally breaking the syntax from 2.7 to 3, it's the year 2021 and we still have a language that gets upset over spaces vs tabs. That's like 1980s level of nonsense.
It's just such a massive, verbose faff to get the basics done and you're always told by some neckbeard that your code is not "Pythonic" enough. I also find that I just can't "learn" Python, in that I can't ever remember the syntax or how to do the basics.
Such a load of balls. Hate it.
Fucking linkedin bugging itself I swear it happened to me too. Lmao nice code microsoft!
Nice video, didn't know about those LinkedIn badges before though. Are those any good..?
not really imo, but you can do them for fun!
I've only done C# test and I am in the top 15% rank.
Was forced to drop C# in exchange for python for a school assessment, now all I know is pain...
Why does everything that works not make sense. And things that would make sense do not work ;-;
Your videos make me laugh, as they are so true.
Haha glad you enjoy them :)
The entire comment section screams high school student and clueless undergrads
7 out of 15. 3 of them you just guessed right. Amazingly, that one where you said "the longest answer is likely right" was the right answer. :P
I'm guessing 7 out of 15 would not get you in the top 30%, so no great loss that it failed to complete. ;)
thanks for telling me my score, i'll happily take the 7/15 haha
That page was built on Python, J/K
Did you take Racket in school? I had to take it freshman year and I haven’t met anyone else who uses it
yea we learn it in first-year here at waterloo too
I want to learn python to take this experience like you
thanks for sharing this with us
linkedin moment
It took painfully long time to do it, but I kinda like it I guess
python is the main language i learnt throughtout school
How to guess ans in exams
Print (thanks)
Output for nothing
For loop in Python
for x in range(1,101)
print(x)
#kinda sus
For loop in C
void main(){
int i=0;
for(i;i
1 university python course == sadness watching this
Because it's stats with "n" 🤣
Python is awesome
Funny video. Love your content
Python is much harder than you think, those one who said Python is easy because they aren't really proficient in Python!
😮😮
People say Python is easy because it's easier to pick up as a complete beginner than almost any other language. Obviously it's difficult to master.
How to get those test plzz
it's a LinkedIn skill assesmment
@@nicholast thanksssss
lol "python is written in C" that narrows it down
it acc does tho
@@nicholast Oohh ur right lol sorry
I think i can get that badge
I love C++.
8:05 I would just write this as [*fruits] lol
generate_count++
Answers
1) 3
2) 1
3) IDK
4) 4
5) 3
6) 2
7) 1
8) 3
9) 4
10) 2
11) 1
12) 3
13) 2
14) 4
15) 1
That question with "self" was a bit weird, while its is in fact how u call the argument that stores reference to instance, it's not rly a syntax. So u can call it however u want and the 1st argument in method will always store that reference. Also u can add decorators to change methods into classmethods so that 1st argument will now hold reference to class instead of instance and while usually u call it "cls" u could leave it on "self" which would mean that "self" now holds a reference to the class. U could even make the method static and no reference would be passed and "self" or "cls" would just be normal method arguments with no special meaning.
All heil king c++ 🙌
Hey can I add you on LinkedIn ? 😳
LinkedIn is hard.
You just tested how intuitive Python is, not your Python knowledge
my python knowledge does not exist
Welcome to Microsoft's LinkedIn, we are trying to solve this problem, oops something went wrong, please restart your system or throw away Microsoft
Python is easy to me Java is hard to me
I passed C++ without studying lol.
you want a trophy?
@@tallon3925 I wanted a badge and I already have it. So no thanks.
your score is 7/15 you failer sorry to say well i do not know much about dart anf pearl but the java, python c c++,go and pascal forton cobon. thankyou
Is it just me that finds c++ easier than python?
I also use C++ (and C) very often. I think it's because Python has so much bloat to it. There are so many things/features within the language it's overwhelming to me. Sometimes I just like to crawl back into C where there aren't 500 different flashy things in my face.
I hate Python…
ngl, python makes me feel sick looking at it. can't tell where anything ends, it's all just black magic.
So jealous. ANY Asian mind of ANY age can pass that test.
"I'm pretty sure you'd just be able to, like, create a list like this. I don't think you need a function for that"
**cries in R**
Someone said python is easy to learn and hard to master, yet I end up close to breaking my monitor and it’s my first coding language
Used to apply python for everything. But i know nothing about python 😁😁😁
honestly, these things are bs haha. i took a c assessment, didn't really know c, but knew older c++ and modern python, somehow passed. it's not really a good measure of what you know and what you don't. plus, years ago i took a python one, passed it, but now I know more and want to retake it; it wont let me.
tries the Python test on Linkedin without knowing python,
Tries to guess all the questions.
Tries to submit an answer to a question and fails because of Linkedin.
Tries to submit the test to see if he passes or not and gets an error page instead.
Yeah, this is normal :D
dw man ive been learning python for 2 years and i still dont know the answers to half the questions
Python is too hard
Get the book effective Python.
What the heck, I have been learning Python for 2 weeks and I knew all the answers.
@@JamesSmith-fl7pq If that's true, it's incredibly impressive. Some of these were pretty hard.
@@JamesSmith-fl7pq Give yourself some time to forget.
You indirectly motivated me, who just started learning python with no coding experience 🤣
Glad I could help :)
Python is a good language to start with :) It's easier to get something working quickly
“Generator probably generates something”
Wow, he’s a genius!
😎😎
this sounds like me taking mobius
LMAOOO this is how I do all MC stuff
python is one of the easiest languages for me
I started using Java as my first programming language and I am so used to it that Python (coding in vscode with ms' extensions) is hard for me, I got many errors on run I even asked chatgpt what the issue is but it gave me no solution. On Java is usually easy to know where the issue is because the ide tells you everything, some people make fun of Java about NullPointerException but last time I got that was a year ago, it's very uncommon and compared with Python errors it's irrelevant.
here to see the comments
You’re a cool and funny guy :)
Haha appreciate it!!
Who else got 15/15 lmao
not me that's for sure
LOL, generator_count is hilarious.
dear nicholas t. : i got your apology for trampling on my python. you know nothing about my python, or else it's stud guard. But congrats todzog chen group there will be 100% fulfillment for herat least 2wice a sun.
I absolutely don't have knowledge in coding, and I want to begin with python
Please suggest ways to start learning python?
surprisingly most uk schools teach python in secondary school, so we kinda master python by the age of 15-16
Hah you did so bad linkedin crashed
😢
@@nicholast seems like they did not want to be the ones to tell you your score lol
@@macmanuelodumeru3708 😂
Nah man, this is easy compared to c++
7:15 the empty space there was to type the answer to the question "What is the correct syntax for creating a variable that is bound to a list?"
Print("Your right man")
this test was definitely written in python...
Could you link this haha?