Skip to content

Instantly share code, notes, and snippets.

@bamoha bamoha/class.py
Created Feb 11, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.