Python Tutorial For Beginners | init method and self keyword in python

Publicado el: 21 mayo 2020
en el canal de: harshal mishra
50
1

Please like and subscribe this video for continuous updates

Full Playlist :    • Py-Pie Python Tutorial  

Facebook :   / py-pie-python-for-beginners-113344127050954  

Twitter:   / shankar35425457  

'''
init() and self keyword in python

'''

class Student:

def __init__(self, name):
self.name = name

def setName(self, name):
self.name = name

def getName(self):
return self.name

stu1 = Student("Harshal")
print(stu1.getName())
print(stu1.__dict__)


En esta página del sitio puede ver el video en línea Python Tutorial For Beginners | init method and self keyword in python de Duración hora minuto segunda en buena calidad , que subió el usuario harshal mishra 21 mayo 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 50 veces y le gustó 1 a los espectadores. Disfruta viendo!