CodePudding user response:
If you judge only integers, front lines can change to be similar to the following a try,Temp=(input (" please enter "))
While not temp. Isdigit () :
Print (" input is not standard, please enter the number ")
Temp=(input (" please enter "))