print("Now please enter a number")
No1 = int(input(">> "))
Is there any way that I could validate that the user had entered a number using a while loop and variables for example:
NumberInput1 = False
print("Now please enter a number")
while NumberInput = False
No1 = int(input(">> "))
#if a number was entered
NumberInput1 = True
#if a number wasn't entered
NumberInput1 = False
print("That is not a number try again")