#2 Python Programming - Adding Attributes to a class in Python 3

preview_player
Показать описание
In this video, we will learn how to add attributes to a class in Python 3.

Code can be found at

I teach Programming, Electronics, Science, and Mathematics on Udemy.

#Python3 #OOP #ClassAttributes
Рекомендации по теме
Комментарии
Автор

If I create a class which draws rectangles and I don't want them to collide, how can I do that when it does not have colliderect function

pokeera
Автор

I don't think the music is so bad. It's in the background and pretty subtle.

edwardkomito
Автор

can you please show how to use the 'self' and '__init__' and why we use them? Thanks

littlestaurt
Автор

Do not clear mind what to say, Better write somewhere and speak. So bad explanation.
Member variable? member attribute?

RahulKumar-rktf
Автор

Haha, why that music in the background? It's not even good!

komalthecoolk