Why not directly input (" please enter a number ")
But: int (input (" please enter a number "))

CodePudding user response:
Int means integer, input and output is a string, even if you enter 1, 2, 3, but these are strings, but int the becomes a integer, can carry out calculations, not int x is not involved in the operationCodePudding user response:
String to integer function, the input is a string ()