here is my code for retrieving the user input:
def inputQ1():
while True:
try:
Q1A = int(input("Rate your exercise today on scale 1-100: "))
except ValueError:
print("invalid value")
continue
else:
return Q1A
and my code for recording the input into a list:
ansQ1 = []
ansQ1.append(inputQ1())
print(ansQ1)
how do I now ask for this user input again, just once per day?