+ 2

How let the users just answer a num input in python

I want to make an interface with user input

1st Aug 2018, 6:39 PM
Brayan Wilis
Brayan Wilis - avatar
2 Antworten
+ 2
Convert the input into an int or float... int(input()) float(input())
1st Aug 2018, 6:54 PM
TurtleShell
TurtleShell - avatar
+ 2
int(input("Number: "))
1st Aug 2018, 8:26 PM
Sousou
Sousou - avatar