Define a function and call it later. like: def cooked_or_raw(): temperature = input("What is the temperature of the spam?") if temperature > 50: print "The salad is properly cooked." else: print "Cook the salad some more." cooked_or_raw() regards, -Hernan