Inheritance [Object-oriented programming in Python, pt. 3]

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Amazing explanation, I already know how to use classes in python but I still watched this coz I love the way you teach. Keep up the good work.

coderanger
Автор

Another great video. You really have the ability to emphasize important concepts.

I can’t wait to look at your series on decorators.

thebuggser
Автор

Good work, I like your explanation from Nairobi

felix-doyj
Автор

How is that super._init_ function make the instance of class numberlist like a list ?
I’m replacing self to be the object fibo and stastcis.mean(fibo), how is fibo a list ?

Subhash_VCU
Автор

Love the videos, well explained. Wouldn't looping in a class slow things down to check instanceof int ? With 1 million numbers probably not a big deal since it is .032662 seconds in a comprehension list. I don't know, but I would imagine many programs loop in a class or have some way to optimize with numpy or something

ironmanlifts
Автор

I guess we can use the Dunder iter method to make our custom object iterable.

raibahati