noob question Letters in words?
steve at REMOVETHIScyber.com.au
Sat Oct 8 04:38:09 CEST 2005
On Fri, 07 Oct 2005 18:03:02 -0700, mensanator at aol.com wrote:
> Why not just look at the first letter the user types instead of
> the whole string?
> if choice1 in ('1', 'S', 's'):
> #do first option
> if choice1 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.
More information about the Python-list