Classes in Python | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Classes in Python

Can someone please explain to me the function of the attribute “self” in this code? Why do we need to use it? https://code.sololearn.com/c92gGJ2T77EP/?ref=app

6th Oct 2019, 12:30 PM
Elf
Elf - avatar
1 Antwort
0
thank you!
6th Oct 2019, 12:36 PM
Elf
Elf - avatar