+ 16

How to delete object in oop correctly? [solved]

Hi all of you, I want to get familiar with OOP in Python and I am struggling with removing an instanciated object. My code is here https://code.sololearn.com/cEj6ILOCS13h/?ref=app and I would be pleased if anybody could solve the problem in the "def delperson(self):" part beginning in line 21 and explain what I have done wrong and how to do it better. I have used the search function and Google, too, but I did not trip over a suitable answer....

19th Aug 2020, 5:31 AM
Jan Markus
2 ответов
+ 8
Thank you very much ~ swim ~ 🙏👍. That was now a stupid mistake by myself and I could have figured it out myself.😳
19th Aug 2020, 6:02 AM
Jan Markus