Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Class declaration with no body
- class Superhero():
- pass
- # Assigning variables to instantiated objects
- spiderman = Superhero()
- batman = Superhero()
- superman = Superhero()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement