为了以下程序能够正常运行,①处可以填入的语句是()
class Animal: def __init__(self,color): self.__color = color @property def color(self): return self.__color @① def color(self,color): self.__color = color animal = Animal('red') print(animal.color) animal.color = 'white' print(animal.color)