On Fri, 07 Oct 2005 22:21:38 -0400, Ivan Shevanski wrote: > Yes, I realize that. . .Heres another question then. I was trying somehting > before so that if the user just pressed enter by accident, it would not > accept the input and ask them to put in another. But the thing is I couldnt > get it to work. I tryed if choice1 == None it would loop and ask for a new > input but that didnt seem to work. . .Any ideas for that?
Test for choice1 == "" (the empty string) instead of None. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list