# Author: James Tam # Version: 2014 # Learning objective: guarantee the execution of a loop by 'priming' a loop # control (setting it to a value to guarantee the loop's execution at least # once. age = -1 while (age < 0): print("Type in your age as a whole number: ", end = "") age = int(input()) print("You typed in %d" %age);