Created
February 11, 2017 21:36
-
-
Save bamoha/33f7b0bc8fe9ce0b9a121c76d6605bed to your computer and use it in GitHub Desktop.
clsses.py
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 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