Skip to content

Instantly share code, notes, and snippets.

@bamoha
Created February 11, 2017 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bamoha/33f7b0bc8fe9ce0b9a121c76d6605bed to your computer and use it in GitHub Desktop.
Save bamoha/33f7b0bc8fe9ce0b9a121c76d6605bed to your computer and use it in GitHub Desktop.
clsses.py
class Human:
def __init__(self):
return "instance"
def sex(self):
pass
def age(self):
pass
def is_alive(self):
pass
def is_parent(self):
pass
def is_grandParent(self):
pass
class Grandparent(Human):
def __init__(self):
return self
class Parent(Human, Grandparent):
def __init__(self):
return self
class child(Human, Grandparent, Parent):
def __init__(self):
return self
class Family(Parent, GrandParent,Child):
def __init__(grandparent, parent, child):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment