Re: "Temporary" Variable

2006-02-24 Thread darthbob88
Reply to all: I realize that naming a variable "spam" is not entirely kosherized. It was originally named secret, but I renamed it in a fit of whimsy. The language is named after Monty Python's Flying Circus, is it not? Remember the Spam Sketch. http://en.wikipedia.org/wiki/Spam_sketch I thank you

Re: "Temporary" Variable

2006-02-23 Thread darthbob88
Steven D'Aprano wrote: > [EMAIL PROTECTED] wrote: > > > Problem: I wish to run an infinite loop and initialize a variable on > > each iteration. Sort of like, "Enter Data", test it, "No good!", "Next > > Try?", test it, etc. What I've tried is simply while 1: var1 = > > raw_input, test var1, then

"Temporary" Variable

2006-02-22 Thread darthbob88
Problem: I wish to run an infinite loop and initialize a variable on each iteration. Sort of like, "Enter Data", test it, "No good!", "Next Try?", test it, etc. What I've tried is simply while 1: var1 = raw_input, test var1, then run through the loop again. What results is var1 gets and keeps the f