Home >>Python String Methods >Python String lower() Method

Python String lower() Method

Python String lower() Method

Python String lower() Method returns a copy of the string where all the characters are lower case. It ignored symbols and numbers.

Syntax:
string.lower()
Here is an example of Python String lower() Method:

lwr = "Hello my PHPTPOINT"
z = lwr.lower()
print(z)

Output:
hello my phptpoint
Example 2:

str = "Welcome To PHPtpoint, WWW.PHPTPOINT.COM"  
str = str.lower()   
print(str)

Output:
welcome to phptpoint, www.phptpoint.com