- 1

How to make the result entered by user as number

25th Apr 2018, 10:38 AM
praveen
praveen - avatar
2 Réponses
+ 1
int(input()) example- age=int(input("Enter your age: "))
25th Apr 2018, 10:48 AM
LordHill
LordHill - avatar
0
pythom
25th Apr 2018, 10:41 AM
praveen
praveen - avatar