Reading about Python? Actually practice it. Try PyChallenge free

Python Tutorial

String lower

Returns string in lowercase.

Syntax

The format is:
str.lower()

Parameters

None.

Example

s = "All work and no play makes Jack a dull boy. Jack?"
s = s.lower()
print(s)

Result:

all work and no play makes jack a dull boy. jack?
BackNext

Practice
Stop reading. Start writing Python.
PyChallenge gives you interactive exercises in your browser — no install needed.
Practice Python with interactive exercises