May-05-2020, 11:27 AM
yes it is possible use the int function
example - int(input('enter a number '))
this way you can take a number directly as a input
example - int(input('enter a number '))
this way you can take a number directly as a input