Skip to content

Instantly share code, notes, and snippets.

@mike11339
Forked from highsmallxu/inheritance-multi-2.py
Created July 18, 2020 20:43
Show Gist options
  • Save mike11339/50a2fd2cb3ecbb10b9572371ba623ea3 to your computer and use it in GitHub Desktop.
Save mike11339/50a2fd2cb3ecbb10b9572371ba623ea3 to your computer and use it in GitHub Desktop.
class Kid(Dad, Mum):
def __init__(self):
Mum.__init__(self)
kid = Kid()
print(kid.eye_color)
# brown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment