Im new to python and I want to print out the results from my add.py script on to my main.py script but I get an error "line 2, in print(add())TypeError: 'module' object is not callable"
main.py
import add
print(add())
add.py
class sample:
def addition(self):
add = 1+1
return add