On Tue, Nov 25, 2008 at 12:45 PM, Daniel J Kramer
<[EMAIL PROTECTED]> wrote:
> Hi Kent
>
> got it!  Is it because Python must recognize the answer as lower case?

It's because you change the user input to lower case, so you have to
compare it against a lower case answer. Maybe this helps:
In [1]: s="Abc"

In [2]: s.lower()
Out[2]: 'abc'

In [3]: s.lower() == "Abc"
Out[3]: False

In [4]: s.lower() == "abc"
Out[4]: True

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to