In <[email protected]> William Bryant 
<[email protected]> 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
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to