Created
July 3, 2024 03:39
-
-
Save mypy-play/e431cc7659c69d230e76022e00ba4a4f to your computer and use it in GitHub Desktop.
Shared via mypy Playground
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 Meat: | |
pass | |
class Fish(Animal): | |
def price(): | |
pass | |
def swim(): | |
pass | |
class Pork(Animal): | |
def price(): | |
pass | |
def run(): | |
pass | |
store = [Fish(),Pork(),Pork()] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment