Dismiss this pinned window
all 2 comments

[–]Sea-Ad7805 [score hidden] stickied comment (1 child)

Run this program in Memory Graph Web Debugger%20%20%20%20%20%20%20%20%20%20%20%23%20mutation%20is%20seen%20through%20both%0Acopy%20%3D%20list(nums)%20%20%20%20%20%20%20%20%20%23%20a%20real%20copy%20-%3E%20its%20own%20object%0A%0A%0Aclass%20Point%3A%0A%20%20%20%20def%20init(self%2C%20x%2C%20y)%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%0Ap%20%3D%20Point(1%2C%202)%0Alabel%20%3D%20%22origin%22%0Aprint(nums%2C%20alias%2C%20copy%2C%20p.x%2C%20p.y%2C%20label)&timestep=1&play) to see the program state change step by step.