Classes and Objects with Python - Part 1 (Python Tutorial #9)

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

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

  • @keifer7813
    @keifer7813 2 года назад +88

    What took me 3 days and countless resources to semi-understand, you broke down in 2 videos for me. Absolute hero

  • @jeremyadamson9618
    @jeremyadamson9618 5 лет назад +503

    "Strive not to be a success, but rather to be of value." - Albert Einstein
    The value you're providing is immense. THANK YOU!

    • @mattiamirigaldi633
      @mattiamirigaldi633 4 года назад +1

      thx man, really good quote

    • @sumonani1572
      @sumonani1572 4 года назад +1

      Hii

    • @Kashmiri.111
      @Kashmiri.111 3 года назад

      Don't take his name, cause CS Dojois from Japan.
      Remember who made Hiroshima's history possible.

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

      I agree with you, although my English is weak, I understood because he was very simple in conveying information

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

      @@tariqalotaibi4852 me too i can understand veryyyy easily rather than others english

  • @annakruse2103
    @annakruse2103 4 года назад +920

    Whoever disliked this video truly confuses me, it is a well put together video that is super helpful

    • @CodeZeroSix
      @CodeZeroSix 4 года назад +4

      A pure tutorial from scratch... Well done bro

    • @davidr.flores2043
      @davidr.flores2043 4 года назад +4

      Agreed; however, what is a 1.5% out of a 100?, so I think this is a great as you can get, the rest...don't even worry about. Cheers

    • @skaito
      @skaito 4 года назад +12

      don’t worry they’re are a lot of AI that automatically dislike videos corresponding to the amount of views so yea

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

      ovi some absolute douche. youtubers like this one are great

    • @atlantic_love
      @atlantic_love 4 года назад +7

      @@skaito Yeah? Seems a little farfetched.

  • @aadarshkumarshah8795
    @aadarshkumarshah8795 3 года назад +115

    why is he not recoginized like other youtubers, his works are always so perfect, clear and easy to understand even the complex topics

  • @archstampton5910
    @archstampton5910 6 лет назад +12

    Officially, this channel has the most valuable Python content on the whole Internet .... for a beginner. I have been struggling for weeks trying to understand the most basic concepts until today.

  • @scottiecarlock4004
    @scottiecarlock4004 5 лет назад +281

    You just taught me everything I learned in a 3 hour class

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

      :)

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

      I had a whole course about just that and didn't understand anything. Now I understand what we did in that course by only watching a 10min video xD

  • @moulatdahkka
    @moulatdahkka 4 года назад +15

    Man you don’t how much of favor you did to me with your tutorials, I spent money and I couldn’t understand OOP but after this video I did , Thank you so much you are a blessing .

  • @wylie9999
    @wylie9999 4 года назад +47

    Love those robots - spent over an hour reading a textbook on classes and objects. Was completely lost. The robots illustration is a great idea.

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

      could u explain this to me???bcz i dont get this..

    • @NaeemF7
      @NaeemF7 5 месяцев назад

      @@sidrafarooq2064
      Hi I'm not sure if you still need this, please let me know if I can try to help

  • @Sarah-wd3ro
    @Sarah-wd3ro 6 лет назад +376

    OMG.. Just on time.. I will have my ML mid exam in less than 3 hours.. And no one can explain classes in python better than you 😀😀

    • @khyleaaronmontebon2623
      @khyleaaronmontebon2623 6 лет назад +11

      How'd it go?

    • @erdinn
      @erdinn 6 лет назад

      yeah man, how'd it go?

    • @Sarah-wd3ro
      @Sarah-wd3ro 6 лет назад +39

      It was long time ago🙈..
      But it was very good👌👌👌

    • @erdinn
      @erdinn 6 лет назад +1

      glad you made it

    • @Sarah-wd3ro
      @Sarah-wd3ro 6 лет назад +2

      Thank you.. And good luck to you

  • @ozmaty
    @ozmaty 4 года назад +282

    Thank you so much! Just had the biggest “Oh shit, I get this now!” moment.

    • @majddirany4011
      @majddirany4011 4 года назад +9

      SAME!!
      i was about to give up programming and then he explained simply but with clarity!

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

      Same here! Thank you very much for your explanation.

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

      You not alone! #MeToo!

    • @ysn7467
      @ysn7467 4 года назад +1

      the same oooh god he's good at explanation

    • @cloaksorg
      @cloaksorg 4 года назад +1

      Same, I've researched classes and OOP a bunch before and now I finally get it all. Thanks so much for the video!

  • @nhatvule6705
    @nhatvule6705 6 лет назад +91

    Thank you. Your video is clear, informative, straight to the point, and encouraging to me. Keep posting new one. I am enthusiastically look forward.

  • @iandan8493
    @iandan8493 4 года назад

    I'm an accountant with literally zero programming knowledge. Started following your tutorials a week ago. I'm surprised I understand everything so precisely. Your explanations are as "dumbed down" as can be. Thank you

  • @NaderTaghinia
    @NaderTaghinia 5 лет назад +23

    The way that you introduce the need for the '__init__' method is the best I have seen so far. Thank you :)

    • @じゅげむ-s6b
      @じゅげむ-s6b 3 года назад +1

      same. been tryna figure out what the hell that is

    • @ja1xh
      @ja1xh 10 месяцев назад

      ​@@じゅげむ-s6bsamee

  • @jzl8959
    @jzl8959 3 месяца назад

    6 Years Later, Still Immensely Helpful. Thankful for this gem of a video. Clear, concise, and beginner-friendly.

  • @user-pg3bq2do3h
    @user-pg3bq2do3h 6 лет назад +6

    OMG... just in time. My ml final exam is 10 yrs away and this helped me so much. No one can explain classes better than you.

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

      Damn its been 5 years, you might wanna start revising for that test you got there

  • @carlmalacalza4927
    @carlmalacalza4927 5 лет назад +30

    Initially did not understand that ‘self’ like ‘this’ in Java has a special meaning in Python and passes the object name. Great job.

    • @yahoobolt
      @yahoobolt 4 года назад +4

      To my understanding now, self means the object name being called. Because in class there can be lot of objects being created and self will default to that object.

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

      @@yahoobolt big fax

  • @professorx1233
    @professorx1233 6 лет назад +7

    Please keep doing these! They are an immense help and I don't know what I'd do without them! You are a seriously good teacher!

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

    i am truly satisfied by the way u say "robot" , btw it was a well made and concise video , it was really useful

  • @jackkelly7557
    @jackkelly7557 4 года назад +6

    Amazing video. I'm reading a book on Python rn and the section on classes and objects is very convoluted; this simplified things greatly!!! For anyone else learning Python, I think the key is to use multiple sources when a topic is confusing.

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

      bro pls stop reading books tutorials are more powerful

  • @Sam-jg5zv
    @Sam-jg5zv 5 лет назад

    You explained classes more succintly and clearly that anyone else in 11 minutes

  • @BrianGlaze
    @BrianGlaze 5 лет назад +11

    CS Dojo truly understands the content as he is able to clearly and easily articulate what and how these concepts work. Applause is in order!

  • @Huguillon
    @Huguillon 6 лет назад

    I´m an illustrator trying to learn some program and understand how it works... and must say you are the best man, it´s so clear and simple the way you teach this... is amazing

  • @imaslime208
    @imaslime208 5 лет назад +28

    This and the other video on Classes and Objects really helped me break down a mental wall.
    Teaching myself so don’t have formal resources but you are filling that role well (:

  • @soniyagoel118
    @soniyagoel118 5 лет назад +1

    You are the best tutor. No one else can teach like you.

  • @andrenarstad1757
    @andrenarstad1757 5 лет назад +4

    Thank you for finding my glasses so that I could see the consept of classes!
    Simple and tasty walkthrough! No question asked.

  • @provakar5496
    @provakar5496 4 года назад

    I started learn python a week ago, but in your channel what I saw that the person who teach me python, you can do much better. Anyone will understand your logic and what you can try to say. Keep up man. As I saw your passion is making RUclips, man you've earned it...

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

    So glad I found this channel 🙂. Classes have been the most challenging for me so far in my python learning. Thanks!

  • @mackenzhiecabute2300
    @mackenzhiecabute2300 4 года назад +1

    I have been watching so much tutorials, reading so much documentation about this, and I watch your vid. Not even 5 minutes after I just had the biggest realization. Thank you

  • @bgaarder2
    @bgaarder2 6 лет назад +5

    You have a talent, my friend. Thank you for putting in so much thought on how to convey this subject.

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

    I am very Thankful to you for this tutorial
    I was confused when I saw your "Introduction to Classes and Objects" Tutorial, but now my confusion is gone as I have now seen this tutorial
    May ALLAH (The God) Bless you

  • @tylerpinheiro9677
    @tylerpinheiro9677 5 лет назад +458

    Print, my name is
    Print, my name is
    Print, my name is
    The real slim shady

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

    I came back to comment on this video. I am a beginner in data science, currently receiving a 3-month training program to usher me in this field. Apart from being a beginner, we finished 'Introduction to python programming in a week and I was so overwhelmed. I watched a 7-hour video here on youtube and I nearly gave me because everyone else made it difficult.
    P.S I am from a college arts background.
    I chanced on CS Dojo's Channel and was quite skeptical because the video is short as compared to other python programming tutorials here. In just 11 mins, I can write classes and objects off the head and run them without error.
    Cs Dojo, a thank you can never ever ever be enough. I really appreciate you, Sir

  • @albertogiunta
    @albertogiunta 6 лет назад +113

    Great one! Keep up the great work man!

    • @ethanreed2672
      @ethanreed2672 5 лет назад

      @killmoo h3h3 what about...?

    • @ethanreed2672
      @ethanreed2672 5 лет назад

      @killmoo I haven't seen it in a while but I probably remember it.

  • @audunaa
    @audunaa 4 года назад

    This is the best beginner class tutorial ive ever seen

  • @saurabh7199
    @saurabh7199 6 лет назад +29

    Thanks CS Dojo☺☺

  • @Tombalino
    @Tombalino 6 лет назад

    You are reaching more people than there are in an entire university. Thankyou

  • @SpringboLives
    @SpringboLives 5 лет назад +9

    Thank youuu, understanding classes has been really challenging for me and this is starting to help :) great examples

  • @Kekkle-
    @Kekkle- 4 года назад

    i spent like 4 hours reading and re-reading my (very expensive) college textbook trying to understand this, and this video taught me everything the book was trying to say in like 10 minutes

  • @pile333
    @pile333 6 лет назад +7

    Oh, I've missed you so much, CS Dojo!
    I even started to learn Javascript in the meantime! ^__^

    • @cryslin2.066
      @cryslin2.066 4 года назад +5

      u did not recieve a single like in 2 years so I liked ur comment
      :>

    • @pile333
      @pile333 4 года назад +2

      @@cryslin2.066 Thx. It's very kind of you.

  • @mohammadikram687
    @mohammadikram687 6 лет назад

    your way of teaching is far more better than what i am being taught on udemy.MAN YOU ARE GENIUS

  • @braggstv232
    @braggstv232 5 лет назад +9

    i Had also love to see you creating some important but moderately short programs while using OOP.

  • @gsv202000
    @gsv202000 4 года назад

    After long years, I understand what is classes and objects. Great Job! Thank you so much!

  • @brianw3903
    @brianw3903 5 лет назад +3

    Great Job, well done sir...Keep up the great work!!!

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

    For some reason I just couldn't wrap my head around classes but this video just made them click. Thank you so much!

  • @tjappaschuur4732
    @tjappaschuur4732 5 лет назад +12

    print("you are amazing!")

    • @krenze1164
      @krenze1164 4 года назад

      you are amazing

    • @じゅげむ-s6b
      @じゅげむ-s6b 3 года назад +1

      @@krenze1164 oh shit the program broke. it forgot the last index

  • @TheHomeschoolgal
    @TheHomeschoolgal 6 месяцев назад

    I can't believe this is free on RUclips - thank you!!!

  • @Ghanemq8
    @Ghanemq8 6 лет назад +9

    thanks for the video, been waiting for it

  • @richsajdak
    @richsajdak 3 месяца назад

    THANK YOU SO MUCH! For some reason I could never grasp what was going on with classes. Your teaching style is excellent: you were able to break this down to where I could finally understand it

  • @GOAT352u
    @GOAT352u 4 года назад +6

    I came to this video to learn what I "learned" in a course of someone else.

  • @ThomasMaltuin
    @ThomasMaltuin 5 лет назад

    DOJO! I have only watched a bit so far but I have already noticed something special about your style of instruction. I want to say thank you for bringing out subtleties such as intentionally using different names for the formal parameters and the class variables! Using the same name is a wonderful convention, but by initially breaking that convention, students are much less likely to assume that they have to match for the code to work. This subtlety is important for a computer science student to progress from writing a little python to actually understanding what they're doing! Kudos!

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

    This is tough

  • @maheshs4056
    @maheshs4056 4 года назад

    What I really love about these videos are the simplicity of the language used, which makes it easy for a beginner to quickly grasp the concepts of classes.
    I'm glad I found your channel. :)

  • @prackertracker7189
    @prackertracker7189 5 лет назад +7

    Why your thumbnail includes code from Pycharm but your tutorial is on jupyter I'm triggert

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

    Extremely clear and informative video. I cannot understand why anyone would dislike this vid

  • @mathankumars896
    @mathankumars896 6 лет назад +7

    Thanks for this

  • @vishnuvarthan8304
    @vishnuvarthan8304 6 лет назад

    CSdojo the savior for students from Canada

  • @dineshsankhat1902
    @dineshsankhat1902 6 лет назад +6

    Hiii my name is dinesh i am your biggest fan You are super

  • @vipinkatiyar134
    @vipinkatiyar134 4 года назад

    You are the best person to teach this object and class. Thanks cs dojo. Love from india 🇮🇳.

  • @TortoRacoon
    @TortoRacoon 5 лет назад +3

    when you define the class with the function, you enter in parenthesis "(self, name, color, weight)", and when you enter the element it refers to the function like Robot("Name", "color", weight). My question is:
    In the function you are entering 4 things, but when defining the element you entry 3 properties. How does the code understand that "name" goes to name and not to self if self and name occupy the first position? because we saw in earlier videos that the first entry in the reference will replace the first entry in the function... what does the code understand by "self" and why is it different in this case?

    • @yashdhivar9829
      @yashdhivar9829 4 года назад

      Self is inbuilt by python and it gets recognised as the object that has been created so it gets ignored

  • @mizuhashitsunoka
    @mizuhashitsunoka 6 лет назад +1

    I have my semester exams in a couple of weeks with full of obsolete curriculum, and here I am restarting Python. Your way of teaching is really appealing and engaging. Glad to be part of Dojogang :')

  • @Mads_Vel
    @Mads_Vel 6 лет назад +3

    I study computer science, but don't understand anything of it :S Maybe I should reconsider my choise or check my IQ one more time..

  • @upbge_codeart4125
    @upbge_codeart4125 4 года назад

    I've looked at numerous other videos on this specific __init__ subject. This video is the clearest and easiest to understand. I finally understand the purpose of the __init__ function.
    THANK YOU THANK YOU!

  • @kiranlalasangi6096
    @kiranlalasangi6096 6 лет назад +7

    can explain more about __init__ function?

    • @skalex055
      @skalex055 5 лет назад

      The init function is run when the class is first initialised. It is already there but contains no code. You can overwrite it by redefining. This means you can put all of your variables like in the video inside of it.

    • @derfrueder5975
      @derfrueder5975 5 лет назад

      @@skalex055 Is that comparable to an constructor?

    • @skalex055
      @skalex055 5 лет назад

      @@derfrueder5975 yes, it will run when the class is created.

    • @monlumbre2861
      @monlumbre2861 5 лет назад

      Try to understand OOPS concept
      it helps you to understand it

  • @daveprado2903
    @daveprado2903 4 года назад

    Bro, you dont know how much of a help your videos have become, we are so thankful and hoping you the best you deserve!

  • @gastonscazzuso4113
    @gastonscazzuso4113 5 лет назад +4

    Thank you !.. FInally I understood what the hell are "Classes" !!! :)

  • @stuartjones1425
    @stuartjones1425 4 года назад +1

    Hands down the best explanation of OOP I've seen. Thank you!

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

    How do we print more than one variable? what if we want the function introduce_self to say, for example,
    Hello my name is Tom
    I am Red
    I weigh 30 lbs
    I get an error saying I cannot concatenate

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

      I believe you can do it like this
      'def introduce_self():
      print ("hello my name is Tom")
      print ("I am Red")
      print ("I weigh 30 lbs")'
      and then call the function with 'introduce_self()'

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

      class Robot:
      def ___init___ (self, name, color, weight):
      self.name = name
      self.color = color
      self.weight = weight

      def introduce_self(self):
      print("my name is " + self.name )
      print("my color is " + self.color )
      print("my weight is" + str(self.weight ))
      r1 = Robot("Tom", "red", 30)
      r2 =Robot("Jerry " , "blue", 40)
      r1.introduce_self()
      r2.introduce_self()

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

    Thank you for making this so simple and easy to understand. I was stumped by Class for an entire week until I watched your video.

  • @britemun
    @britemun 6 лет назад +3

    Hey bro...U R Great as always ! I have one question though,
    What is the use of classes and is it helpfill in Machine Learning or Deep Learning?

  • @rohanpulikkal5614
    @rohanpulikkal5614 4 года назад

    I finally found a youtube channel that explains everything properly! Thank you very much for the great explanation.

  • @ednalvavalentim4839
    @ednalvavalentim4839 6 лет назад +3

    Could you put English subtitles in the videos,please?.I am Just learning english, and it would be so easier to watch the videos.

    • @gba04
      @gba04 6 лет назад +2

      Great idea i am also learning english and it is so hard to find good python tutorials in my native language and it would get so easier to learn with english subtitles, i hope he sees your comment and put the it in the next video!

    • @guiilhermeoliveira7063
      @guiilhermeoliveira7063 6 лет назад

      I was about to ask the same thing.

    • @hitcom16
      @hitcom16 6 лет назад +1

      Turn on captions from options.

    • @hitcom16
      @hitcom16 6 лет назад +1

      Guilherme Alfredo there r 3 dots on right top side. Like ' : ' this. THERE'S caption option... In my RUclips app yes it's there. Try r search it there.

  • @juanok2775
    @juanok2775 6 лет назад

    dude I have been watching python videos everywhere but yours are so much easier to understand!

  • @anuragtripathi1744
    @anuragtripathi1744 6 лет назад +4

    friend plz make a QnA video i have many questions for you

    • @CSDojo
      @CSDojo  6 лет назад +2

      What are your questions? :)

    • @anuragtripathi1744
      @anuragtripathi1744 6 лет назад +1

      Can we make our own packages in Python and import in our program?

    • @mukteshwartripathi9582
      @mukteshwartripathi9582 6 лет назад +1

      Yes plz tell I was also having this confusion?

    • @swallowedinthesea11
      @swallowedinthesea11 6 лет назад

      Yes. Write a function etc., use the import module to use that function etc. in a file.
      import random # built-in module
      guess = int(input('Guess my number: ')
      x = random.randrange(101)
      if guess == x:
      print('Awesome!')

    • @anuragtripathi1744
      @anuragtripathi1744 6 лет назад +1

      No,My Question is can i create my own packages

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

    This is by far the best explanation I have come across.

  • @robinkovacic7961
    @robinkovacic7961 5 лет назад +4

    isn't this just a function with extra steps?

    • @xfire3778
      @xfire3778 4 года назад +1

      Robin Kovačić that’s what confuses me, what’s the purpose of it

    • @Sam-wg1hc
      @Sam-wg1hc 4 года назад +3

      Its not a function, a function already has information in it, compare the function to an apple pie, a class is like a recipe, with the class you can make all sort of cakes

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

    I was sooo frustrated with this class thing and __init__ . but after loooong search I found you again, I always found your videos easy to understand.
    yea I know Im not the sharpest one here. I almost quit learning programming because of these thing. Im still not confident enough though. But Thanks a lot.

  • @abishekravichendar4512
    @abishekravichendar4512 6 лет назад +4

    Hai cs dojo what happens if we doesn't use the word self.

    • @Fleathemighty
      @Fleathemighty 6 лет назад

      it still works if you use something else but i think it's just a convention. i guess it just makes it easier for someone else to read it. the one thing that needs to stay the same is the __init__ custom function

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

    dude this tutorial helped a lot! I don't know why college classes are taught in a manner that makes it so that you can't make mistakes. learning is 99% making mistakes.

  • @LeslieeGaming
    @LeslieeGaming 4 года назад +5

    I don't trust chinese in programming...

  • @terminatorongc5135
    @terminatorongc5135 2 месяца назад

    Explained it 10 times better than my teacher. RUclips saves the day again.

  • @carriezhang4351
    @carriezhang4351 5 лет назад +3

    how did you "#" multiple lines at one time?

    • @carriezhang4351
      @carriezhang4351 5 лет назад

      @Berke Icel works! thx!

    • @taran7954
      @taran7954 5 лет назад

      Or you can do this ' ' ' hello hey ' ' '

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

    I know this video is a few years old, but I wanted to make sure to comment and say good job! Very simple and straightforward, something a lot of these "basic python" videos lack. The way you explained attributes and the __init__ method is something that a lot of videos don't even go over or explain the why (and the reason I was watching this video in hopes it would be explained!)

  • @pankuang5669
    @pankuang5669 4 года назад

    I have seen several lectures related to class and objects, i find your lecture is the best, no one can explain python classes and objects than you ! Thank you so much. Love from Asie ♥

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

    This video gives me a huge relief. ngl, I was so frustrated after watching 2 video tutorials and reading 2 articles about OOP and couldn't understand a thing like the way I did in python previous lessons, until i found this.

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

    this video is still saving lives, four years later

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

    Dude I've taken multiple course and watched so many videos trying to understand this and I never did until now, kudos!!

  • @isaacobamehinti7030
    @isaacobamehinti7030 5 лет назад

    I've watched so many videos trying to grasp this concept, but only from your video have I attained clear understanding! Thank you so much! I look forward to watching part 2.

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

    Anyone is not understand able about the above one then just see his previous video about classes then watch this that worked for me :)

  • @sammandujano106
    @sammandujano106 6 лет назад

    Tech Lead & CS Dojo are the best programming youtubers.

  • @ladydimitrescu1155
    @ladydimitrescu1155 4 года назад

    This is literally the most helpful Python OOP video of all time, thankyou so much!!!

  • @gkpmohan
    @gkpmohan 6 лет назад

    I am a beginner and I like your videos a lot. Your tutorials help me to easily understand and execute the concepts.

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

    Such a wonderful tutorial never gets old. It helps anyone who wants to know Python classes. Many thanks for this!

  • @jahidnoyda9521
    @jahidnoyda9521 4 года назад

    class Robot:
    def introduce_self(r1):
    print("My Name is " + r1.name)
    r1 = Robot()
    r1.name = "Tom"
    r1.color = "blue"
    r1.weighr = 30
    r1.introduce_self()
    #we can right r1 instead of self.name as you wrote in python 9
    # i tried and it works

  • @rahultirkey7950
    @rahultirkey7950 5 лет назад +1

    You cleared my doubts about constructors which I wasn't able figure out for several weeks. Now I can sleep tonight with no doubts. Thanks.

  • @disruptityourself
    @disruptityourself 6 лет назад

    THANK YOU SO MUCH YOU SAVED MY LIFE TODAY. I've been trying to understand this but it wasn't clicking and I recently started using python to write automated tests for work. I felt like if I didn't grasp this I was going to give up. Thank you so much.

  • @ichiroosada3028
    @ichiroosada3028 4 года назад

    By far the most easy to understand and down to earth explanations. You are extremely talented please keep this up!

  • @Grungydan
    @Grungydan 5 лет назад +2

    Your vids are way better than the ones out of a course I paid for. Thanks so much for taking the time. Consider me subscribed!

  • @rexfarell
    @rexfarell 6 лет назад

    I thought this video was gonna be for only CS experts and full of obscure references, but for once, everything makes sense to me.

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

    I'd never been taught this in class, but ALL of my assignments uses class. Thank you for the explanation!!

  • @rafaeljesus8774
    @rafaeljesus8774 5 лет назад

    no one can explain classes in python like you do!!
    thanks a lot :)