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

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

Coding with Ashwin

6 лет назад

16,250 Просмотров

In this video, we will learn how to add attributes to a class in Python 3.

Code can be found at
https://github.com/ashwin-pajankar/Python-OOP

I teach Programming, Electronics, Science, and Mathematics on Udemy.
www.udemy.com/user/AshwinPajankar

#Python3 #OOP #ClassAttributes

Тэги:

#Attributes #oop #Python #Python3 #class #objects #Object_oriented #programming #oo_programming
Ссылки и html тэги не поддерживаются


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

@littlestaurt10
@littlestaurt10 - 03.12.2017 18:20

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

Ответить
@keerthivasang1178
@keerthivasang1178 - 22.07.2018 16:23

Nice Sir!!!!!

Ответить
@komalthecoolk
@komalthecoolk - 08.02.2019 09:22

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

Ответить
@edwardkomito7881
@edwardkomito7881 - 19.04.2019 21:07

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

Ответить
@RahulKumar-rk1tf
@RahulKumar-rk1tf - 01.09.2019 22:44

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

Ответить
@pokeera7735
@pokeera7735 - 02.09.2020 14:00

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

Ответить
@upgraduate
@upgraduate - 02.11.2020 00:31

Good work with easy steps!

Ответить