"Temporary" Variable

markscala at gmail.com markscala at gmail.com
Wed Feb 22 23:13:08 EST 2006


I tried this code and it worked fine:

while 1:
    var1 = raw_input("Enter a number: ")
    print "You entered:",var1
    var1 = int(var1) + 1
    print var1




More information about the Python-list mailing list