#shorts
Let's create a class in Python.
We will define a constructor (init method), we will create two class instances (or objects), and finally print the same instance attribute for both instances.
Notice how we use self in the constructor.
Everything is under a minute!
Find out how to create your classes in Python with the following CodeFatherTech tutorial:
https://codefather.tech/blog/python-c...
If you are getting started with Python, here is your FREE Python Starter Checklist:
https://codefather.tech/the-python-st...
Keep growing!
Claudio
#CodeFatherTech
Nesta página do site você pode assistir ao vídeo on-line Python Class Init, Instances and Instance Attributes duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário CodeFatherTech 07 Novembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 734 vezes e gostou 23 espectadores. Boa visualização!