class Penguin(Bird): def walk(self): return 1 def fly(self): raise Exception('I cant fly')