from cat import * # creating sally calls the __init__ method and sets the cat's hunger level sally = Cat(True) # printing sally calls the __str__ method print sally sally.meow() # notice that the 'eat' behavior changes based on the cat's hunger! sally.eat() sally.eat()