0
 File "C:\Users\Home\Desktop\calculator\calc.py", line 19, in <module>
    calc.run
AttributeError: 'Calculator' object has no attribute 'run'

This is the problem i have been facing

if __name__ == "__main__":
    calc = Calculator()

    calc.run

Here Is the code which is showing error

Bryan Oakley
  • 123
  • 3
  • The error seems self-explanatory. Apparently your `Calculator` class doesn't have an attribute named `run`. – Bryan Oakley Jun 19 '22 at 02:12
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Jun 20 '22 at 09:30

0 Answers0