AttributeError in Python object has no attribute

1.4k 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 answers

0
alecxe On

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