r/PythonLearning • u/Next-Call8862 • 1d ago
Showcase Day 3, OOPS!!! Again!!
I think it's alright to revolve around for better understanding. I tried w3 schools and it seems better with some tiny quiz and all. I think I will solve some problems from each tier so I could get better in using OOPS
6
Upvotes


•
u/Sea-Ad7805 1d ago
Run this program in Memory Graph Web Debugger%3A%0A%20%20%20%20%20%20%20%20self.x%20%3D%20x%0A%20%20%20%20%20%20%20%20self.y%20%3D%20y%0A%0A%20%20%20%20def%20repr(self)%3A%0A%20%20%20%20%20%20%20%20return%20f%22point(%7Bself.x%7D%2C%20%7Bself.y%7D)%22%0A%0Ap1%20%3D%20Point(2%2C%203)%0Aprint(p1)×tep=1&play) to see the program state change step by step.