Advertisement
Nenogzar

birds

Jul 24th, 2024
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1. from project.animals.animal import Bird, Animal, Mammal
  2. from project.food import Food, Vegetable, Fruit, Meat, Seed
  3.  
  4. class Owl(Bird):
  5.     def __init__(self, name: str, weight: float, wing_size: float):
  6.         super().__init__(name, weight, wing_size)
  7.  
  8. class Hen(Bird):
  9.     def __init__(self, name: str, weight: float, wing_size: float):
  10.         super().__init__(name, weight, wing_size)
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement