I have this program:
import display
a = int(input('1st number:'))
b = int(input('2nd number:'))
c = a + b
display.display1
and the other with the name 'display':
def display1():
print(c)
It will come out :
NameError: name 'c' is not defined
how do I define the 'c' to find the total for a and b?. Thanks