How 2 invoke python 2 read from text file under W2k

Hernan M. Foffani hfoffani at
Sun Dec 16 13:30:19 EST 2001

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."
        print "Cook the salad some more."



More information about the Python-list mailing list