# Spam-cooking program

# Fetch the function sleep
from time import sleep

print "The Spam has started cooking. (I'll check the temperature in 10 seconds.)"

# Wait for 10 seconds (time in seconds)...
sleep(10)

print "I'm baaack :)"

# How hot is hot enough?
hot_enough = 50

temperature = input("How hot is the spam? ")
while temperature < hot_enough:
    print "Not hot enough... Cook it a bit more..."
    sleep(5)
    temperature = input("OK. How hot is it now? ")

print "It's hot enough - You're done!"
