Skip to content
Sign UpLog In
Profile icon

CassioTDS

@CassioTDS
Repls
Community
CassioTDS
CassioTDS
shared a Post
4 years ago
Ask Age
I Need To Ask The Player Age But He Only can put numbers.
SpeedyAuthenticFrontpage-2
Python
CassioTDS
CassioTDS
Guys! I Figured It Out! A Coder Teaches Lessons To My Dad Andash15khng was right just that it is exept: Not Exept ValueError: (actually idk)4 years ago
ash15khng
ash15khng
You could use age = int(input("what is your age?")) This stores the input as a variable age. If the player types in a non number, there will be an error.4 years ago