Help please, why doesn't it show the next input?

John Gordon gordon at panix.com
Wed Sep 11 15:46:52 EDT 2013


In <f7db6733-0f7a-4b18-bdcd-8d53e3644b50 at googlegroups.com> William Bryant <gogobebe2 at gmail.com> writes:

> @Jugurtha Hadjar
> What does user_input.lower() mean/do?

String objects have a number of built-in functions, lower() being one of
them.  It returns a copy of the string with all uppercase letters converted
to lowercase.

Example:

    >>> x = "Hello There"
    >>> y = x.lower()
    >>> print y
    hello there

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon at panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list