In <f7db6733-0f7a-4b18-bdcd-8d53e3644...@googlegroups.com> William Bryant 
<gogobe...@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
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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

Reply via email to