Using attributes in python #21436
-
Hello everyone ,
second method
and thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
They are completely different things:
Which makes sense to do depends on what you’re actually doing. Using |
Beta Was this translation helpful? Give feedback.
-
Please can you more explain i didn’t understand yet |
Beta Was this translation helpful? Give feedback.
-
If you have more questions, please ask them specifically. Or check the Python tutorial chapter on classes and objects, it’s pretty extensive: 9. Classes — Python 3.9.7 documentation |
Beta Was this translation helpful? Give feedback.
If you have more questions, please ask them specifically. Or check the Python tutorial chapter on classes and objects, it’s pretty extensive: 9. Classes — Python 3.9.7 documentation