Can't convert 'int' object to str implicitly提示解決方法

eg:python class Car: def __init__(self, newWheelNum, newColor): self.wheelNum = newWheelNum self.color = newColor def __str__(self): msg = "嘿。。。個人顏色是" + self.color + "我
相關文章
相關標籤/搜索