class Color():def __init__(self, color1, color2):self.color1 = color1self.color2 = color2def Mixed(self):Mixfinished = ''if self.color1 in ['红色', '蓝色'] and self.color2 in ['红色', '蓝色'] and self.color2 != self.color1: Mixfinished = '紫色'elif self.color1 in ['红色', '黄色'] and s...
回答于 2021-11-16 14:53