AttributeError in Python object has no attribute

1.5k Views Asked by At

i Keep getting the attribute error for "add" but i have added it in the Calculator file. any ideas?enter image description here

1

There are 1 best solutions below

0
On

Your indentation is wrong, put the add() and the other methods on the same level as __init__() method.