Advertisement
Nenogzar

mammal

Jul 24th, 2024
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.70 KB | None | 0 0
  1. from project.animals.animal import Mammal, Animal, Bird
  2. from project.food import Food, Vegetable, Fruit, Meat, Seed
  3.  
  4.  
  5. class Mouse(Mammal):
  6.     def __init__(self, name: str, weight: float, living_region: str):
  7.         super().__init__(name, weight, living_region)
  8.  
  9. class Dog(Mammal):
  10.     def __init__(self, name: str, weight: float, living_region: str):
  11.         super().__init__(name, weight, living_region)
  12.  
  13. class Cat(Mammal):
  14.     def __init__(self, name: str, weight: float, living_region: str):
  15.         super().__init__(name, weight, living_region)
  16.  
  17. class Tiger(Mammal):
  18.     def __init__(self, name: str, weight: float, living_region: str):
  19.         super().__init__(name, weight, living_region)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement