Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Zombie():
- def __init__(self,health=100,brains_eaten=5):
- self.health = health
- self.brains_eaten = brains_eaten
- bob = Zombie(80,5)
- sally = Zombie(120,3)
- benjamin = Zombie()
Advertisement
Add Comment
Please, Sign In to add comment