Python inheritance 👪

  Рет қаралды 84,600

Bro Code

Bro Code

Күн бұрын

Пікірлер: 202
@BroCodez
@BroCodez 3 жыл бұрын
Don't forget to SMASH that LIKE button and DROP a random COMMENT down below for the YT algorithm 🙏 also here's the code from the video... class Animal: alive = True def eat(self): print("This animal is eating") def sleep(self): print("This animal is sleeping") class Rabbit(Animal): def run(self): print("This rabbit is running") class Fish(Animal): def swim(self): print("This fish is swimming") class Hawk(Animal): def fly(self): print("This hawk is flying") rabbit = Rabbit() fish = Fish() hawk = Hawk() print(rabbit.alive) fish.eat() hawk.sleep() rabbit.run() fish.swim() hawk.fly()
@ManuelRincon-w7z
@ManuelRincon-w7z 9 ай бұрын
Is this info available in the full phyton course?
@incognito3923
@incognito3923 2 жыл бұрын
i watched like 3 videos read 2 books about inheritance listened 1 lecture and learnt nothing. then you came up with 7 minute video and just put knowledge in my brain
@medooo80
@medooo80 Жыл бұрын
Same for me. I watched python for everybody and didn't learn shit. And this just explained it well. 😂
@cameron7957
@cameron7957 3 жыл бұрын
You have no idea how well you just described this. Thank you, much needed.
@ronbelanger8812
@ronbelanger8812 2 жыл бұрын
This is the best programming series I have ever seen. You have a great gift for teaching.
@DucTaZenSurfer
@DucTaZenSurfer 3 жыл бұрын
Whoa, how on earth can you make me understand inheritance in a 7-minute video but my class of 7 lecture videos couldn't?! lol Good-looking Bro, I always refer to you for learning and in a rut in school during my Python phase. Now we're moving into Phase 2 with Django and Full Dev Stack stuff!
@tara2337
@tara2337 6 ай бұрын
what you do is not teaching, it's more like magic you rock!
@thalesaragao8634
@thalesaragao8634 2 жыл бұрын
Extremely easy and useful tutorial. I am studying django and a lot of things are just making sense now! Great Content!
@HANNAHGRANT-b4u
@HANNAHGRANT-b4u Ай бұрын
Thank you! A teacher learning python and this is a great example
@hari3658
@hari3658 Жыл бұрын
My head was exploding figuring out this whole inheritance problem, thank you so much for being a big brother and saving me.!😭😭
@cameronestrada1430
@cameronestrada1430 Жыл бұрын
this is the only tutorial that has actually made me understand class inheritance. thank you so much! subscribed 👓
@artyomashigov
@artyomashigov 8 ай бұрын
I have subscribed, smashed the like button and leaving this in the comment) Great explanation
@sarakopser6596
@sarakopser6596 Жыл бұрын
Going to school for Cyber Security Management and taking a program class! Professor put this video in resources. I will def save and come back! Thank you for explaining this!
@utkarshpateriya1564
@utkarshpateriya1564 9 ай бұрын
Thanks for explaining things in an easy way. Very helpful. Liked and Subscribed
@happytyagi7122
@happytyagi7122 3 ай бұрын
Nice 👍
@snoopy962
@snoopy962 7 ай бұрын
Easily and clearly explained. Thanks :)
@kingshahzad78
@kingshahzad78 Ай бұрын
Great Explanations Sir
@kamkam9600
@kamkam9600 Жыл бұрын
Good vid
@shamaeelahmed3561
@shamaeelahmed3561 2 жыл бұрын
Bro, you're the best programming mentor on earth Love you
@wuguguu
@wuguguu 9 күн бұрын
Amazing tutorial 👍❤
@gregoriolobato3033
@gregoriolobato3033 Жыл бұрын
I saw 44 seconds and instant thumb up. Im gonna suscribe.
@sattamassagan290
@sattamassagan290 2 ай бұрын
Nice, thanks. So we would only initialise if we wanted to list attributes, but because we were focused on methods we didn't have to?
@АлексейМиронов-х3о5щ
@АлексейМиронов-х3о5щ Жыл бұрын
Helpful
@visionlanguages1999
@visionlanguages1999 8 ай бұрын
you are the best bro!!! I was in serious trouble. You made my day!! Blessings!
@АлексейСугоняко
@АлексейСугоняко 9 ай бұрын
Great tutorial. Enjoy it very much.
@rbtravassos
@rbtravassos 3 ай бұрын
Very well explained. Thanks ❤
@talhaomair1455
@talhaomair1455 10 ай бұрын
This is more useful than the semester worth classes.
@DavidGoggins-b5w
@DavidGoggins-b5w Ай бұрын
Keep going o😎😎😎😎
@knownrobloxian3381
@knownrobloxian3381 2 жыл бұрын
inheritance seems very helpful
@HannaBerhanu-dj4kz
@HannaBerhanu-dj4kz 4 ай бұрын
The best lesson ever and you got all the 3 things (like, comment, and Sub)!
@ameetfaisal8723
@ameetfaisal8723 Жыл бұрын
Awesome video. And also commenting for the algorithm.
@NeoWaiTengTildaTemasekjc
@NeoWaiTengTildaTemasekjc 3 ай бұрын
i hope you are making lots of money through advertisements, cos you are helping us computing students a lot!!
@bu1216
@bu1216 2 жыл бұрын
Bro Code is King 👑 of Teaching Programming 👑
@melanoberidze4995
@melanoberidze4995 8 ай бұрын
great videoooooo
@samisado6331
@samisado6331 10 ай бұрын
Thank you so much for the wonderful explanation
@aydinakbuga
@aydinakbuga Жыл бұрын
Easy, simple and pratic Thanks bro
@bekhacker
@bekhacker Жыл бұрын
Best explanation ever❤
@Budu_Alexandru214
@Budu_Alexandru214 Жыл бұрын
Nice video
@09deekshith
@09deekshith Жыл бұрын
Best tutorials 🔥🔥🔥🔥
@elimoshebogomilsky4592
@elimoshebogomilsky4592 Жыл бұрын
wow this is so helpful. amazing ability to describe
@ninjastar4187
@ninjastar4187 Жыл бұрын
Smashed 👍🏽and Subscribed ✍🏽 I was going to give up. You broke it down perfectly . Thank you. I'm so grateful.
@anikaitpratihary1222
@anikaitpratihary1222 11 ай бұрын
Bro Lovely 🎉🎉🎉
@trshkohamirza1621
@trshkohamirza1621 4 ай бұрын
Awesome thank you
@hiiexisthiiexist1284
@hiiexisthiiexist1284 Жыл бұрын
nice video
@davidserrano134
@davidserrano134 2 жыл бұрын
I think I found my favorite python channel
@centralcodingethiopia
@centralcodingethiopia Жыл бұрын
Short, brief and to the point.
@omarosman5915
@omarosman5915 8 ай бұрын
bro code is the TRUE BRO 🙌🙌
@RobinsonOkusala
@RobinsonOkusala 11 ай бұрын
I like the teaching method
@imadiman528
@imadiman528 Жыл бұрын
That's awesome
@Michaelthegrape7680
@Michaelthegrape7680 3 ай бұрын
That was actually helpful, thanks!
@piotrkopcewicz5227
@piotrkopcewicz5227 Жыл бұрын
it is good it is very good
@jackkuelmazierlham
@jackkuelmazierlham 8 ай бұрын
simple explanation, keep it bro
@legitimatepsychiatricemerg1363
@legitimatepsychiatricemerg1363 Жыл бұрын
super nice
@hishamdebis9490
@hishamdebis9490 5 ай бұрын
awesome
@kemann3815
@kemann3815 2 жыл бұрын
Great
@badhonbiswas3751
@badhonbiswas3751 3 жыл бұрын
After watching your opp video i understand the Opp concept
@lodz1292
@lodz1292 3 жыл бұрын
same here
@mrrelaxingsounds6894
@mrrelaxingsounds6894 Жыл бұрын
lovely vid broooooooooooo
@istein654
@istein654 9 ай бұрын
-thank you for this clear explanation!
@Vincent-y3c
@Vincent-y3c 6 ай бұрын
You describe this so well
@nerdyberi
@nerdyberi 7 ай бұрын
Very helpful i understood immediately
@franciscobarrientos3922
@franciscobarrientos3922 Ай бұрын
Hi, thanks a lot! very well explained!! may I ask: what is the difference between using or not using: " def __init__(self): super().__init__()" other sources teach to use that, but from seeing this video it seems to me that is not necessary. Thanks!
@kelvinneiva6635
@kelvinneiva6635 Жыл бұрын
vc é o brabo, Brasil aqui!!
@Pursite
@Pursite 10 ай бұрын
nice
@e-commerceassist4891
@e-commerceassist4891 Жыл бұрын
I like the concept you taught thanks 🙏
@rethikkrishna777
@rethikkrishna777 5 ай бұрын
Bro you are awesome
@cristiucvladimir7909
@cristiucvladimir7909 5 ай бұрын
Thanks for the content.
@RealRadaiZabala
@RealRadaiZabala Жыл бұрын
Thank you, @Bro Code
@sirdave48
@sirdave48 10 ай бұрын
Well explained!
@raidenx_knights1026
@raidenx_knights1026 7 ай бұрын
This was extremely helpful, thank you
@babaabba9348
@babaabba9348 9 ай бұрын
Yes I liked the video
@xolelwamabutya-fn2xb
@xolelwamabutya-fn2xb Жыл бұрын
i was so confused about this topic but now i understand better , thank you !!
@zamanincube1368
@zamanincube1368 6 ай бұрын
Uhlalaphi sisi mhlawumbe singancedana
@mervesafak1508
@mervesafak1508 9 ай бұрын
Perfect
@marcelobour
@marcelobour Жыл бұрын
neat as fish+duck!
@yiorgoskatopodis
@yiorgoskatopodis 2 жыл бұрын
Excellent Bro
@shortbynaveen
@shortbynaveen Жыл бұрын
Amazing bro
@fynzer5421
@fynzer5421 2 жыл бұрын
very well explained
@lw9954
@lw9954 2 жыл бұрын
Thanks for the video Bro
@aisyjeff95
@aisyjeff95 2 жыл бұрын
amazing
@gustavoaponte1814
@gustavoaponte1814 Жыл бұрын
This series is super duper good :3
@MikeDC360
@MikeDC360 9 ай бұрын
"Broding 101" keep it coming
@XdCassy
@XdCassy 2 жыл бұрын
U r way too underrated ty bto
@techgamer3827
@techgamer3827 3 жыл бұрын
very good
@alsal1002
@alsal1002 Жыл бұрын
Great Vid!!
@usatheesh7779
@usatheesh7779 5 ай бұрын
thank you
@juancharlie777
@juancharlie777 8 ай бұрын
Appreciate you bro
@DesiredFactsDaily
@DesiredFactsDaily Жыл бұрын
Im here Broooooooooooooooooooooooooooooooooooooooo
@jesuisravi
@jesuisravi 2 жыл бұрын
nice job.
@everythingtv6675
@everythingtv6675 Жыл бұрын
The best way to explain😂
@PotatoNachoIT
@PotatoNachoIT Жыл бұрын
yep defenitly helped thnx rlly man u help a lot of pple
@requa3314
@requa3314 2 ай бұрын
thank you so much
@athiyaman5680
@athiyaman5680 Жыл бұрын
🎉🎉🎉🎉
@rhythm-6991
@rhythm-6991 5 күн бұрын
thanks
@mythicpulse-i9o
@mythicpulse-i9o Жыл бұрын
I love your coding vids
@lodz1292
@lodz1292 3 жыл бұрын
great! explanation
@kaiposaldanha1952
@kaiposaldanha1952 2 ай бұрын
tks bro
@faustrare
@faustrare 5 ай бұрын
💛💛💛
@davehug
@davehug 3 жыл бұрын
Also thank you for all your work
@DROR19801
@DROR19801 Жыл бұрын
thank you for this awesome tutorial bro code!
@enochcrosby6630
@enochcrosby6630 3 жыл бұрын
Comment for the algo. Good video, man.
@netomusic_br
@netomusic_br 3 жыл бұрын
Awesome
@shirinkhorchid5169
@shirinkhorchid5169 7 ай бұрын
Thank you ❤
SUPER() in Python explained! 🔴
13:06
Bro Code
Рет қаралды 11 М.
Python OOP Tutorial 4: Inheritance - Creating Subclasses
19:40
Corey Schafer
Рет қаралды 1,3 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 34 МЛН
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,8 МЛН
Python Object Oriented Programming in 10 minutes 🐍
10:04
Bro Code
Рет қаралды 409 М.
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 2,2 МЛН
Composition Is Better Than Inheritance in Python
23:29
ArjanCodes
Рет қаралды 261 М.
We Fell For The Oldest Lie On The Internet
13:08
Kurzgesagt – In a Nutshell
Рет қаралды 331 М.
super/MRO, Python's most misunderstood feature.
21:07
mCoding
Рет қаралды 219 М.
OOP Class Inheritance and Private Class Members - Python for Beginners!
16:12
Python abstract classes 👻
7:45
Bro Code
Рет қаралды 80 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 865 М.
What does '__init__.py' do in Python?
6:50
Indently
Рет қаралды 63 М.
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 34 МЛН