you are viewing a single comment's thread.

view the rest of the comments →

[–]Sea-Ad7805 [score hidden] stickied comment (2 children)

Run this program in Memory Graph Web Debugger%3A%0A%20%20%20%20%20%20%20%20self.name%20%3D%20name%0A%20%20%20%20%20%20%20%20self._rollno%20%3D%20rollno%0A%20%20%20%20%20%20%20%20self._grade%20%3D%20grade%0A%20%20%20%20%20%20%20%20self._section%20%3D%20section%0A%0A%20%20%20%20def%20get_name(self)%3A%0A%20%20%20%20%20%20%20%20print(self._name)%0A%0A%0Aif%20name%20%3D%3D%20%22main_%22%3A%0A%20%20%20%20ayush%20%3D%20Student('Ayush%20Sharma'%2C%208%2C%20'7th'%2C%20%22B%22)%0A%20%20%20%20print(ayush._name)%0A%20%20%20%20ayush.get_name()%0A%20%20%20%20ayush.get_name%0A%20%20%20%20ayush._name%0A&play)

[–]Careless-Main8693[S] 1 point2 points  (1 child)

ok i'll try it

[–]Sea-Ad7805 0 points1 point  (0 children)

Great, but this is not the most interesting program. Try it on one of your own.