class Dog:
    def __init__(name):
        self.name = name
    def bark(name):
        print "%s: arf arf", name
    def sleep(name):
        print "%s: zzzZZzzzZZ", name
    def rollover(name):
        print "%s: rolling over", name
river = Dog()
river("river").sleep()


