Skip to content

Instantly share code, notes, and snippets.

@jonascheng
Last active June 9, 2019 04:55
Show Gist options
  • Save jonascheng/ecdbc86a7c5875cde7b1c331044fde0a to your computer and use it in GitHub Desktop.
Save jonascheng/ecdbc86a7c5875cde7b1c331044fde0a to your computer and use it in GitHub Desktop.
SOLID-PenguinClass
class Penguin(Bird):
def walk(self):
return 1
def fly(self):
raise Exception('I cant fly')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment