Guarded digits: A careful age inquiry

Report a typo
Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
Which of the following Python snippets correctly captures a user's age from the console input, checking if the input is purely numeric before converting it to an integer?
Select one or more options from the list

Create a free account to access the full topic