class Washer():
def _init_(self, width, height):
self.width = width
self.height = height
def print_info(self):
print(f'宽度为{self.width}')
print(f'高度为{self.height}')
haier = Washer(1000,2000)
haier.print_info()
大佬们,帮我看看不知道为啥,它就报错了,谢谢你们