Abhishek Singh Thakur 59d2d5acfb
Adds python code (#7)
2022-10-13 19:54:41 +05:30

14 lines
355 B
Python

from abc import ABC, abstractmethod
import BirdType
class Bird(ABC):
def __init__(self, weight: int, colour: str, size: int, beakType : str, birdType : BirdType) -> None:
self.__weight = weight
self.__colour = colour
self.__size = size
self.__beakType = beakType
self.__birdType = birdType
@abstractmethod
def makeSound(self) -> None:
...