Ok I have another question now I noticed that at the tope of a while loop there will be somthing like this:
test = None while test != "enter": test = raw_input("Type a word: ") if test == "enter": break
what is the purpose of test = None ?
'test' must be given a value before Python will use it.
Without the first assignment, the program will fail to execute the first time it reaches the unknown variable.
Think of it as riming the pump. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor