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?