Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from project.animals.animal import Mammal, Animal, Bird
- from project.food import Food, Vegetable, Fruit, Meat, Seed
- class Mouse(Mammal):
- def __init__(self, name: str, weight: float, living_region: str):
- super().__init__(name, weight, living_region)
- class Dog(Mammal):
- def __init__(self, name: str, weight: float, living_region: str):
- super().__init__(name, weight, living_region)
- class Cat(Mammal):
- def __init__(self, name: str, weight: float, living_region: str):
- super().__init__(name, weight, living_region)
- class Tiger(Mammal):
- def __init__(self, name: str, weight: float, living_region: str):
- super().__init__(name, weight, living_region)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement