Created
October 22, 2014 18:30
-
-
Save cldershem/23622935be67eca8396d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LivingBeing(object): | |
breathes = True | |
needs_water = True | |
def cease_living(): | |
pass | |
class Plant(LivingBeing): | |
has_eyes = False | |
has_legs = False | |
def eats(): | |
pass | |
class Animal(LivingBeing): | |
has_eyes = True | |
has_legs = True | |
def eats(): | |
pass | |
def sleeps(): | |
pass | |
def moves(): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment