The program asks for an age until it is a whole number that is not negative. Type abc, then -5, then 15 in the Input box, one on each line, and press Run.
This code calls input() 1 time: one value per line, above, in the same order.
Log in to join the discussion.
Loading…