I'm defining a function that I can call to store the user's input as a variable, make sure it's a number, and convert the number to a integer for a formula later in the code.
So the idea is, when the program gets to days it prompts the user to input getAnswer, which launches the function, to check the answer the user gives, and convert it to an integer. Same thing with worked
def getAnswer(a):
while True:
if a.isdecimal():
a = int()
break
print('Numbers only please...')
days = input(getAnswer)
worked = input(getAnswer)
This is what it ends up looking like <function functionName at 0x013A1300>