File "C:\Users\Home\Desktop\calculator\calc.py", line 19, in <module>
calc.run
AttributeError: 'Calculator' object has no attribute 'run'
这是我一直面临的问题
if __name__ == "__main__":
calc = Calculator()
calc.run
这是显示错误的代码
File "C:\Users\Home\Desktop\calculator\calc.py", line 19, in <module>
calc.run
AttributeError: 'Calculator' object has no attribute 'run'
这是我一直面临的问题
if __name__ == "__main__":
calc = Calculator()
calc.run
这是显示错误的代码