python data type
Help
What data type does input() always return?
String
How do we convert input to a whole number?
int()
write a line correctly that takes a number as input?
num = int(input("Enter a number: "))
Unlock this slideshow and over 4 million more with Baamboozle+
Try slideshows
Your experience on this site will be improved by allowing cookies.
Allow cookies