Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class JohnSmith:
- def say(self):
- print(self)
- john = JohnSmith()
- john.say() # <__main__.JohnSmith object at 0x0000000>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement