how would this work? Lets say I have a function called getInput that gets three numbers based on user input
def getInput():
num1 = int(input("please enter a int"))
num2 = int(input("please enter a int"))
num3 = int(input("please enter a int"))
how would I use this function in another function to do checks regarding the input? For example
def calculation():
getInput()
if num1 > (num2 * num3):
print('Correct')
thanks!