Medium
Age Validator
Read an age. If it's not a whole number print
Invalid input; if it's below 0 or above 150 print Out of range; otherwise OK. Raise and catch your own ValueError for the range check.Input
One line.
Output
One line.
Sample 1
Input
25
Output
OK
Sample 2
Input
-1
Output
Out of range
Output appears here