Here is the code:
class Duck(): def init(self,input_name): self.__name = input_name
@property def name(self): print(\'inside the g