On Fri, 07 Oct 2005 18:03:02 -0700, [EMAIL PROTECTED] wrote: > Why not just look at the first letter the user types instead of > the whole string? > > if choice1[0] in ('1', 'S', 's'): > #do first option > if choice1[0] in ('2', 'E', 'e'): > #do second option
Is it *really* a good idea if the user types "STOP!!!" and it has the same effect as if they typed "Start please"? I've heard of "Do what I mean, not what I said" systems, which are usually a really bad idea, but this is the first time I've seen a "Do what I don't mean, not what I said" system. -- Steven. -- http://mail.python.org/mailman/listinfo/python-list