I always change and experiment with code so I can better understand it, but this is unclear to me !? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

I always change and experiment with code so I can better understand it, but this is unclear to me !?

https://code.sololearn.com/cMMB6A8oFUeH/?ref=app

20th Mar 2018, 6:37 PM
Vučko/Вучко/Vuchko
Vučko/Вучко/Vuchko - avatar
2 Answers
+ 12
that property returns you true and then you try to set that to false, that is wrong
20th Mar 2018, 7:35 PM
Vukan
Vukan - avatar
+ 4
Using @property is usually used to clear out facts about classes. You cannot change them. This is used to prevent errors.
20th Mar 2018, 7:37 PM
Tomer Sim
Tomer Sim - avatar