def main():
uInput()
calc()
def uInput():
value1 = int(input('Please put in the first number'))
value2 = int(input('Please put in your second number'))
return value1
return value2
def calc(value1,value2):
finalNumber = value1 + value2
print (finalNumber)
main()
I am messing around with python, and am trying to make a simple calculator program. I'm trying to pass the input values from the uInput module, to the calc module. It keeps saying missing two required position arguments. Can you only pass one variable from a module to another module?