python is hard.

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024

Комментарии • 277

  • @nicholast
    @nicholast  3 года назад +276

    If you know python, then please let me know if I passed 😂

    • @Zantaurus97
      @Zantaurus97 3 года назад +12

      I passed with a C tho. But it was hard!

    • @monkeyjosh
      @monkeyjosh 3 года назад +5

      I don't so haha, I did skip through the vid a bit but saw more then a few incorrect

    • @balazs4316
      @balazs4316 3 года назад +13

      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…

    • @saswat_samal
      @saswat_samal 3 года назад +11

      You know all other Languages, know the logic so you are good to go with Python!😀 Coz python is English...😅

    • @yuvarajthiyagarajan7960
      @yuvarajthiyagarajan7960 3 года назад +10

      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!!.

  • @deltax4652
    @deltax4652 3 года назад +432

    "A generator; probably it generates something." - Nicholas T, 2021

    • @nicholast
      @nicholast  3 года назад +51

      Truly big brain

    • @deltax4652
      @deltax4652 3 года назад +1

      @@nicholast generate_count++ and I actually think you got at least 5 correct

    • @nicholast
      @nicholast  3 года назад +1

      @@deltax4652 but did I pass (8+/15)??

    • @deltax4652
      @deltax4652 3 года назад +2

      @@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
      @nicholast  3 года назад +4

      @@deltax4652 I get to celebrate now 🥳

  • @TheZethera
    @TheZethera 3 года назад +390

    Python is easy to learn and somewhat difficult to master. Partly because it's just so big.

    • @nicholast
      @nicholast  3 года назад +33

      the wide range of uses!

    • @lowrhyan567
      @lowrhyan567 3 года назад +7

      Just like any other programming language.

    • @Oncopoda
      @Oncopoda 3 года назад +18

      @@lowrhyan567 no. Some programming languages are both difficult to learn and master, particularly for beginners.

    • @DatNguyen-vj1ro
      @DatNguyen-vj1ro 3 года назад +6

      "Python is easy to learn and somewhat difficult to master. Partly because it's just so big. "
      Brainfuck: "Hold my beer"

    • @Orincaby
      @Orincaby 3 года назад +3

      Bit like your mom!

  • @floguo
    @floguo 3 года назад +508

    going from the c family to python:
    so where do I put the semicolons...?

    • @nicholast
      @nicholast  3 года назад +125

      LOL it just doesn’t feel right without semicolons 😤😤

    • @ngn_two6001
      @ngn_two6001 3 года назад +24

      Welcome to indention. Python codes broke when in different text encoding.

    • @TheRyulord
      @TheRyulord 3 года назад +15

      @@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.

    • @hermeswyrz7603
      @hermeswyrz7603 3 года назад +3

      @@TheRyulord "import pdb; pdb.set_trace()" is a godsend

    • @wachowski9525
      @wachowski9525 3 года назад +7

      2nd week of learning python and I go reeeeee when my break statements are left naked without semicolons :'(

  • @PythonPlusPlus
    @PythonPlusPlus 3 года назад +601

    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!

    • @nicholast
      @nicholast  3 года назад +147

      thank you for grading this

    • @lokeshchandak3660
      @lokeshchandak3660 3 года назад +15

      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.

    • @PythonPlusPlus
      @PythonPlusPlus 3 года назад +20

      @@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.

    • @Psyhister
      @Psyhister 3 года назад +1

      Are you sure about 11th? I'm pretty sure that lists are not ordered and neither are sets.

    • @PythonPlusPlus
      @PythonPlusPlus 3 года назад +25

      @@Psyhister lists are ordered. That’s a pretty important fact about lists.

  • @inigo8740
    @inigo8740 3 года назад +136

    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.

    • @Belissimo-T
      @Belissimo-T 3 года назад +5

      In new versions of python, a set is also ordered and not unordered.

    • @nickeldan
      @nickeldan 2 года назад +3

      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".

    • @nuffins
      @nuffins 2 года назад +1

      @@Belissimo-T I’ve learned Python after that change, so I was actually confused about that. Thanks for the clarification.

  • @angryjugplayer1884
    @angryjugplayer1884 3 года назад +12

    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.

    • @bendoverDN
      @bendoverDN 2 года назад

      Did you switch to CS?

  • @yak654
    @yak654 3 года назад +14

    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

    • @nicholast
      @nicholast  3 года назад +6

      haha yea a lot of ppl learn python first and yet i still dk it

  • @Kuzushii
    @Kuzushii 2 года назад +5

    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!”

  • @13pgt
    @13pgt 3 года назад +35

    I code in python to automate the checking of my students' works but I can't answer any of these questions LOL

  • @numberiforgot
    @numberiforgot 3 года назад +23

    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.

    • @nicholast
      @nicholast  3 года назад +5

      python is so versatile

    • @ethanquenum4778
      @ethanquenum4778 3 года назад +2

      But can you automate child delivery with Python?

    • @numberiforgot
      @numberiforgot 3 года назад +1

      @@ethanquenum4778 Absolutely. Simply make a class called __vagina__ and make a delivery function callable through that class.

    • @ethanquenum4778
      @ethanquenum4778 3 года назад

      @@numberiforgot Thanks for the tips man. But wait... "_vagina_"? Is that a valid syntax for a class in Python?

    • @numberiforgot
      @numberiforgot 3 года назад

      @@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’

  • @shiorinyan
    @shiorinyan 3 года назад +17

    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

    • @Mark-rt6fy
      @Mark-rt6fy 2 года назад

      it was used in a textbook taught in lots of cs101 classes across universities nowadays

  • @yashsolanki069
    @yashsolanki069 3 года назад +75

    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)

    • @nicholast
      @nicholast  3 года назад +5

      amazing learnings 😂

  • @ChippinLittle
    @ChippinLittle Год назад +1

    This made me try the test and I thought I smashed it until
    "Your score is in the bottom 30%"

  • @ixypsylongaming
    @ixypsylongaming 3 года назад +5

    Thank you for telling python is hard! Finally.

  • @Insanestab
    @Insanestab 3 года назад +58

    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'

    • @sinify6676
      @sinify6676 3 года назад +3

      "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.

    • @alexwilson2537
      @alexwilson2537 3 года назад +4

      absolute chad for explaining for idiots like me

    • @DanteEhome
      @DanteEhome 3 года назад +1

      @@alexwilson2537 Hey, chill. We all start from somewhere. I also knows nothing in python and just take this as entertainment/learning process.

    • @sinwentian3711
      @sinwentian3711 3 года назад +1

      Wow ! Kudos !!

    • @nicholast
      @nicholast  3 года назад +4

      thank you for your service kind sir

  • @lanceanthony5043
    @lanceanthony5043 3 года назад +12

    If this isn't the most accurate shit ever I don't know what is bruh.

  • @kelvinwong9190
    @kelvinwong9190 3 года назад +27

    dont know Python but ME jump right to py game with reinforcement learning lolol

  • @playerscience
    @playerscience 3 года назад +26

    After watching this video I think I still have a lot to learn in python.

  • @thememecatcher1512
    @thememecatcher1512 3 года назад

    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! :)

  • @nuvemparticular5517
    @nuvemparticular5517 3 года назад +1

    I guess I just found the best RUclips channel ever.

    • @nicholast
      @nicholast  3 года назад

      Send me the link I wanna know too 🤔

  • @sebipoiana1768
    @sebipoiana1768 2 года назад

    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! :)

  • @djintotjandra247
    @djintotjandra247 2 года назад +1

    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.

  • @colinmaharaj
    @colinmaharaj 3 года назад +13

    Yes python is hard. I have been using C++ for 25 years. So thats easy for me.

  • @cloudhatsu9240
    @cloudhatsu9240 3 года назад +4

    lmao I like to code in python still am confused on the answers.😂

  • @grantwilliams630
    @grantwilliams630 3 года назад +2

    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())

  • @ishashka
    @ishashka 3 года назад +3

    Python is cool, but I still have no idea why people call it "readable". Compared to a bracket-based language it's really not.

    • @4w0ken
      @4w0ken 3 года назад

      absolutly agree

    • @OrgBrent
      @OrgBrent 3 года назад

      Yeah, c# is way more readable to me. I started in Python but I really like C# now.

    • @tankapadia
      @tankapadia 3 года назад

      @@OrgBrent same with me and java, i started with python but i feel as if java is easier to read.

  • @volatus2354
    @volatus2354 3 года назад +17

    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.

    • @nicholast
      @nicholast  3 года назад +3

      thank you for your service

  • @trannusaran6164
    @trannusaran6164 3 года назад

    8:30 "What is this syntax?"
    Syntactic "sugar" for a simple λ

  • @dramamysteryhorror4234
    @dramamysteryhorror4234 2 года назад

    Python is the new PHP - easy to start so everybody jump on it. Then it does not make sense for any bigger/maintainable development.

  • @kadensharpin2156
    @kadensharpin2156 3 года назад +1

    I've never used python and this video demonstrates why python makes no sense

  • @nitishbansal6878
    @nitishbansal6878 3 года назад +1

    It would be ironic if the quiz itself was written in python!

    • @Oncopoda
      @Oncopoda 3 года назад +1

      Idk if that qualifies as irony.

  • @c0dertang
    @c0dertang 3 года назад

    When you only do python while watching this. Trying not to scream at the screen right now XD

  • @fastrockstar1705
    @fastrockstar1705 3 года назад +18

    I constantly get mocked by java developers for using python 😂

    • @MeMe-nm7jr
      @MeMe-nm7jr 3 года назад +3

      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.

    • @theshermantanker7043
      @theshermantanker7043 2 года назад

      Lmfao don't lie it's always the other way around

    • @fastrockstar1705
      @fastrockstar1705 2 года назад

      @@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).

  • @mxbx307
    @mxbx307 3 года назад +1

    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.

  • @xXVenezuelaXx
    @xXVenezuelaXx 3 года назад

    Fucking linkedin bugging itself I swear it happened to me too. Lmao nice code microsoft!

  • @peschebichsu
    @peschebichsu 3 года назад

    Nice video, didn't know about those LinkedIn badges before though. Are those any good..?

    • @nicholast
      @nicholast  3 года назад +1

      not really imo, but you can do them for fun!

  • @gyanookharel7440
    @gyanookharel7440 3 года назад +1

    I've only done C# test and I am in the top 15% rank.

  • @EzyExpress2bh
    @EzyExpress2bh 3 года назад

    Was forced to drop C# in exchange for python for a school assessment, now all I know is pain...

    • @EzyExpress2bh
      @EzyExpress2bh 3 года назад

      Why does everything that works not make sense. And things that would make sense do not work ;-;

  • @damienluedtke9276
    @damienluedtke9276 3 года назад +1

    Your videos make me laugh, as they are so true.

    • @nicholast
      @nicholast  3 года назад

      Haha glad you enjoy them :)

  • @patternwhisperer4048
    @patternwhisperer4048 3 года назад

    The entire comment section screams high school student and clueless undergrads

  • @NathanTallack
    @NathanTallack 3 года назад +12

    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. ;)

    • @nicholast
      @nicholast  3 года назад +1

      thanks for telling me my score, i'll happily take the 7/15 haha

  • @casanave1
    @casanave1 3 года назад

    That page was built on Python, J/K

  • @BritsGuideToAmerica
    @BritsGuideToAmerica 3 года назад

    Did you take Racket in school? I had to take it freshman year and I haven’t met anyone else who uses it

    • @nicholast
      @nicholast  3 года назад

      yea we learn it in first-year here at waterloo too

  • @erromaissaeelhilali5121
    @erromaissaeelhilali5121 3 года назад +3

    I want to learn python to take this experience like you
    thanks for sharing this with us

  • @renibraew4400
    @renibraew4400 Год назад

    linkedin moment

  • @samjebaraj24
    @samjebaraj24 3 года назад

    It took painfully long time to do it, but I kinda like it I guess

  • @ZqchSK
    @ZqchSK 3 года назад

    python is the main language i learnt throughtout school

  • @neogamer8510
    @neogamer8510 Год назад

    How to guess ans in exams

  • @vantravisemoss9034
    @vantravisemoss9034 2 года назад

    Print (thanks)
    Output for nothing

  • @milosmucalovic973
    @milosmucalovic973 3 года назад

    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

  • @nexovec
    @nexovec 3 года назад

    1 university python course == sadness watching this

  • @joshuamarcano350
    @joshuamarcano350 2 года назад

    Because it's stats with "n" 🤣

  • @vedant9173
    @vedant9173 3 года назад

    Python is awesome

  • @nhlanhlamfingwane8753
    @nhlanhlamfingwane8753 3 года назад

    Funny video. Love your content

  • @kitgary
    @kitgary 3 года назад

    Python is much harder than you think, those one who said Python is easy because they aren't really proficient in Python!

    • @nicholast
      @nicholast  3 года назад

      😮😮

    • @Oncopoda
      @Oncopoda 3 года назад

      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.

  • @tufe.
    @tufe. 3 года назад

    How to get those test plzz

    • @nicholast
      @nicholast  3 года назад

      it's a LinkedIn skill assesmment

    • @tufe.
      @tufe. 3 года назад

      @@nicholast thanksssss

  • @isaaclo6877
    @isaaclo6877 3 года назад

    lol "python is written in C" that narrows it down

    • @nicholast
      @nicholast  3 года назад

      it acc does tho

    • @isaaclo6877
      @isaaclo6877 3 года назад

      @@nicholast Oohh ur right lol sorry

  • @angadsingh6478
    @angadsingh6478 3 года назад

    I think i can get that badge

  • @BukhariTechnologies
    @BukhariTechnologies 3 года назад

    I love C++.

  • @aprillomat
    @aprillomat 3 года назад

    8:05 I would just write this as [*fruits] lol

  • @abhisheksah
    @abhisheksah 3 года назад

    generate_count++

  • @morgengabe1
    @morgengabe1 3 года назад

    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

  • @funkenjoyer
    @funkenjoyer 3 года назад

    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.

  • @dimitris713
    @dimitris713 3 года назад

    All heil king c++ 🙌

  • @ajnart_
    @ajnart_ 3 года назад

    Hey can I add you on LinkedIn ? 😳

  • @wayne8863
    @wayne8863 3 года назад

    LinkedIn is hard.

  • @lLegas
    @lLegas 3 года назад

    You just tested how intuitive Python is, not your Python knowledge

    • @nicholast
      @nicholast  3 года назад +2

      my python knowledge does not exist

  • @Russel_at_whatever
    @Russel_at_whatever 3 года назад

    Welcome to Microsoft's LinkedIn, we are trying to solve this problem, oops something went wrong, please restart your system or throw away Microsoft

  • @Hyuxnie
    @Hyuxnie 2 года назад

    Python is easy to me Java is hard to me

  • @vaibhavsharma4525
    @vaibhavsharma4525 3 года назад

    I passed C++ without studying lol.

    • @tallon3925
      @tallon3925 3 года назад

      you want a trophy?

    • @vaibhavsharma4525
      @vaibhavsharma4525 3 года назад

      @@tallon3925 I wanted a badge and I already have it. So no thanks.

  • @Jah2a
    @Jah2a 3 года назад

    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

  • @nickiss2742
    @nickiss2742 3 года назад

    Is it just me that finds c++ easier than python?

    • @zachmanifold
      @zachmanifold 2 года назад

      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.

  • @casperes0912
    @casperes0912 3 года назад

    I hate Python…

  • @rocksfire4390
    @rocksfire4390 3 года назад

    ngl, python makes me feel sick looking at it. can't tell where anything ends, it's all just black magic.

  • @micjakes1
    @micjakes1 3 года назад

    So jealous. ANY Asian mind of ANY age can pass that test.

  • @benkehargitai1688
    @benkehargitai1688 3 года назад +7

    "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**

  • @Majorskillissue101
    @Majorskillissue101 2 года назад +3

    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

  • @0xbyt3z
    @0xbyt3z 3 года назад +7

    Used to apply python for everything. But i know nothing about python 😁😁😁

  • @TheFootballPlaya
    @TheFootballPlaya 3 года назад +18

    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.

  • @AbdelrahmanRashed
    @AbdelrahmanRashed 3 года назад +11

    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

  • @hurricanetwister24
    @hurricanetwister24 3 года назад +58

    dw man ive been learning python for 2 years and i still dont know the answers to half the questions

    • @nicholast
      @nicholast  3 года назад +8

      Python is too hard

    • @abhinavchavali1443
      @abhinavchavali1443 3 года назад

      Get the book effective Python.

    • @JamesSmith-fl7pq
      @JamesSmith-fl7pq 3 года назад

      What the heck, I have been learning Python for 2 weeks and I knew all the answers.

    • @abhinavchavali1443
      @abhinavchavali1443 3 года назад +1

      @@JamesSmith-fl7pq If that's true, it's incredibly impressive. Some of these were pretty hard.

    • @ethanquenum4778
      @ethanquenum4778 3 года назад

      @@JamesSmith-fl7pq Give yourself some time to forget.

  • @Sakenra
    @Sakenra 3 года назад +4

    You indirectly motivated me, who just started learning python with no coding experience 🤣

    • @nicholast
      @nicholast  3 года назад +2

      Glad I could help :)

    • @Music_Engineering
      @Music_Engineering 3 года назад +1

      Python is a good language to start with :) It's easier to get something working quickly

  • @NStripleseven
    @NStripleseven 3 года назад +26

    “Generator probably generates something”
    Wow, he’s a genius!

  • @brnzhng
    @brnzhng 3 года назад +5

    this sounds like me taking mobius

    • @nicholast
      @nicholast  3 года назад

      LMAOOO this is how I do all MC stuff

  • @land23
    @land23 3 года назад +2

    python is one of the easiest languages for me

  • @ninetysixvoid
    @ninetysixvoid Год назад +1

    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.

  • @crckrbrrs
    @crckrbrrs 3 года назад +1

    here to see the comments

  • @carvman217
    @carvman217 3 года назад +4

    You’re a cool and funny guy :)

    • @nicholast
      @nicholast  3 года назад +1

      Haha appreciate it!!

  • @abhinavchavali1443
    @abhinavchavali1443 3 года назад +1

    Who else got 15/15 lmao

    • @nicholast
      @nicholast  3 года назад +1

      not me that's for sure

  • @GagandeepSingh-rz7ue
    @GagandeepSingh-rz7ue 3 года назад +1

    LOL, generator_count is hilarious.

  • @drguilemclaughlin
    @drguilemclaughlin Год назад

    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.

  • @crakentertainment585
    @crakentertainment585 2 года назад

    I absolutely don't have knowledge in coding, and I want to begin with python
    Please suggest ways to start learning python?

  • @andreicarprusu4311
    @andreicarprusu4311 Год назад

    surprisingly most uk schools teach python in secondary school, so we kinda master python by the age of 15-16

  • @jasondads9509
    @jasondads9509 3 года назад +2

    Hah you did so bad linkedin crashed

    • @nicholast
      @nicholast  3 года назад

      😢

    • @macmanuelodumeru3708
      @macmanuelodumeru3708 3 года назад

      @@nicholast seems like they did not want to be the ones to tell you your score lol

    • @nicholast
      @nicholast  3 года назад

      @@macmanuelodumeru3708 😂

  • @dcode863
    @dcode863 3 года назад +1

    Nah man, this is easy compared to c++

  • @purplexionroblox
    @purplexionroblox 2 года назад

    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?"

  • @lone1563
    @lone1563 3 года назад

    Print("Your right man")

  • @z08840
    @z08840 3 года назад

    this test was definitely written in python...

  • @Tntpker
    @Tntpker 3 года назад

    Could you link this haha?