PythonStringlower
upper

lowerString

strip

Returns the string converted to lowercase.

Syntax

str.lower()

Example

Enter values below to update the example in real time.

name
print
hello
world
name = "HELLO WORLD"
print(name.lower())  # hello world