I'm in a class right now and my adhd is running wild and I could not make sense of these things. And then I found this and it's essentially, to my understanding, just attaching methods to variables and that makes it make so much more sense to me.
These are awsome and easy-to-digest bits that make learning so much easier. So many tutorials out there are just blabbing away and wasting time. Thanks for these!
as someone who is just dipping their toes into programming this is such a nice and concise tutorial, really helped cause my adhd brain could barely get through 10 minutes of the 2 hour long lesson :)
ngl this is soooo good, but i must add i am really good at python, i just never had to build classes for w while without gpt lol, so if youre a beginner and youre confused it's a good general overview
aint separate instance atribution, like, the defoult? i dont get it if i call warrior.double offcourse it is ment to use the double inside the warior and not any other arbitrary stuf... so what is the point of telling the thing tha it is itsef?
@@b001 Thank you! Thanks! Thank you so much! Splendid! I appreciate you! I gave you my love! Let me have your permission to give you my appreciation! Nice! Much love!
dafuqqq.., you can call "self" whatever you want, I'm programming in Python for like 6 years and never knew that.
how'd you even start programming, you learn this in most tutorials
@@reguret2976 I was like 13 and didn't understand English so I just did what they did without understanding...
Just don't use "this" that's an Easter egg.
@@reguret2976 why would he need to know useless information like that to start coding.
Bro, my mind is blowing 🤯
Amazing how some people can explain something in such a short time that takes an hour for someone else
...on the spot! Thank you so much!!
This is a pretty good and quick explanation. I hope to see more. Maybe some tips for VS code as well.
I'm in a class right now and my adhd is running wild and I could not make sense of these things. And then I found this and it's essentially, to my understanding, just attaching methods to variables and that makes it make so much more sense to me.
I WAS STRUGGLING ON CLASSES AND THIS REALLY HELPED CLEAR THINGS UP THANK YOUUUU!
Probably the best tutorial i've seen on Python classes so far. Everyone else on TH-cam just seems like their endlessly talking about nothing
I love the videogame analogy. I understand it more easily with a game. Thank you!
Yes, what you said!
classes was so intimating to me, with this example it made it so clear! thanks !
I never thought a 2 min video could teach me so much...
These are awsome and easy-to-digest bits that make learning so much easier. So many tutorials out there are just blabbing away and wasting time.
Thanks for these!
agree
I agree
Brief and concise explanation while delivering it well in a comprehensive manner. Thank you.
now i really understand classes. aint no way i just handled a complex concept in 1 minute and now i know what classes can do. thanks.
Wow! been battling to understand this concept and you explained it in 1 minute.
Im currently enrolled in Data Science MSc.This video is great! thank you
Bro that was so helpful,its just 1min and really the best tutorial what i ever saw
I understood more about classes than a full explanation in a course this was legit!
very informative and just to the point. thank you so much 😊
Excellent illustration. To the point ❤
THANK YOU! You saved me a LOT of headache!
Short and easy to understand, Great job🔥
Thank you!! I needed this so bad!
Beother that was the best explanation :):) ı have just started learning and couldn’t get my head around. Now ı know! Thanks!
Excellent explanation! Keep on rockin!
as someone who is just dipping their toes into programming this is such a nice and concise tutorial, really helped cause my adhd brain could barely get through 10 minutes of the 2 hour long lesson :)
Great explanation, so easy to understand ❤
Amazing video and perfect timing!! I just finished a section in my course on classes and created a deck of cards 😊♦♣♥♠
Thank you. This vidio help me for create own game and a firt project. Shortly, quicly and cleary.
Beautiful explanation, thank you
What color theme do you use? It looks so good.
Cool. Also, when are you gonna finish your Javascript course
How/why does your terminal look like that, like the spot where you can type and the line directly above it?
Thank you for the awesome video!
I don't know why but this channel is the only one that can give me understanding. 😅👍👍👍🎉
Great video, you explained it clearly in a short time 🙂
Great video! I need more how to python videos !
Brilliant!!
what's theme that you use?
My fav channel 💪🏼💪🏼
How about an item and extras in the bag like ammunition and a first aid bag Store them
OMG, finally i understand class thanks bro ❤
My dog understood this tutorial, God what a beautiful way of explaining.
Python trying its absolute hardest to be an OOP language for absolutely no reason, bro just stay functional
Damn that was good bro
short and best explanation for class in python 🙂
perfect thank you so much
very helpful I didn't understand what _init_ and what self meant now I know
theme?
dude, what the heck. Thanks!
OMFG just explain soo fucking well for me. midterm in 2 hour.
Awesome format
i still don't get what "self" is for, isn't in useless?
Wait, why didn't the ninja's speed double? I kinda lost that part
very easy explanation thank you
😎 MOAR!!
Nice video :D Also I am the first one here 😂 I see how this can be useful in recycling old code
85 second and I know all that I needed to know!
#Inserts a class in my code#
Python: its a class.... Init?
this is one reason why I prefer ruby, self is the instance so you do not have to pass it in.
Best python TH-camr out there🤌
verry usefull video but i have a question : whta doest the "f" stand for whent you type "print(f"warior speed: {warrior.speed}")" ?
if you havent gotten your answer the f indicates an f-string which allows you to use the brackets {} to put variables directly into the string
thankyou
THANK YOU
Wow... you made thinks 10x easier thanks
Hey, do you have any python course created by you for beginners? I really like your teaching style, would like to join the course if it is available.
Is OOP Python good, all i see is function based usage in Python community most of the time
damn, and even after this i still don't know where classes are actually required to use ,.,
ngl this is soooo good, but i must add i am really good at python, i just never had to build classes for w while without gpt lol, so if youre a beginner and youre confused it's a good general overview
Can you add another variable in double_speed ?
Yes
Nice video! Btw, what's the theme?
SynthWave’84
short and great
Can you elaborate on self?
can you finish your python playlist im'ma python video marathon..
brilliant ! 🎉
what a your themes?
aint separate instance atribution, like, the defoult? i dont get it
if i call warrior.double offcourse it is ment to use the double inside the warior and not any other arbitrary stuf... so what is the point of telling the thing tha it is itsef?
You sir just make 24 minutes into 1 minutes
We need a b002 for Java
Nice vid👍
I'm struggling to grasp what self does
Wooaahh whats your color scheme?
Like switch function
hey man can you tell me the theme name ?
SynthWave’84
@@b001 Thank you! Thanks! Thank you so much! Splendid! I appreciate you! I gave you my love! Let me have your permission to give you my appreciation! Nice! Much love!
Бам бам бим бим
DAIMMMMMMMMMMMMMM
W explanation
"The definition of genius is taking the complex and making it simple."
--Albert Einstein
is this Jesus' reincarnation? THANK YOU
nerf ninja
люблю тебя
d
class Character:
def __init__(b001, health, damage, speed)
I'm struggling to grasp what self does