Python Lowercase String
Table of Contents
Hey learner, In these topics we will learn about python lowercase string. In python programming, when the letter of the sentence are in uppercase for these conversions from uppercase to lowercase lower() method is used.

lower() method is used to convert the uppercase characters into lowercase characters. The syntax of python lowercase string is:
Syntax : string.lower()
- Parameters: Lower() method doesn’t take any parameter.
- Return Value: lower() method return the string value, which is converted all the uppercase string into the lowercase string.
And for capitalization of the first letter is of the sentence, use capitalize() method. The syntax of Capitalization of the first letter of the string is:
Syntax : string.capitalize()
Example For Python Lowercase String
Example 1: for all string in uppercase

Code
#string with upper case
string = 'TECHNOELEARN IS A LEARNING SITE'
#convert into lowercase
string.lower()
Output : technoelearn is a learning site
In the above program, the string is ‘TECHNOELEARN IS A LEARNING SITE’. By using the lower() method, all string which is in uppercase is converted into lower case. As you can see in the output of the program ‘technoelearn is a learning site’. So, you can easily convert from uppercase character into a lowercase character by using lower() method.
Example 1: for some string are in uppercase and with number.

Code
#string with upper case
string = 'The age of Alina is 30 year'
#convert into lowercase
string.lower()
Output : the age of alina is 30 year
In example 2, The program is converting all uppercase characters into lowercase characters. As you can see in the program, the string is ‘The age of Alina is 30 year’ by using lower() method all the uppercase letter are converted into the lowercase letter and the number are same.
islower() Method:
islower() method is used to check the string is in lowercase or not. It returns only true or false. If the string is in lowercase then the islower() method returns true and if the string is in uppercase then return false. And to check the string are in uppercase use isupper() method. The syntax of islower() method is:
Syntax : string.islower()
Example with some uppercase letter:

Code
#take a string
string = 'Technoelearn'
#check the string are in lowercase!
string.islower()
Output : False
In the above islower() program, the string variable take a string ‘Technoelearn’. In which some letter are in uppercase, so by that the islower() method return False.
Example with all lowercase letter:

Code
#take a string
string = 'technoelearn'
#check the string are in lowercase!
string.islower()
Output : True
In the above islower() program the string take ‘technoelearn’. which are in lower character. so is checking the string then islower() method return true.
Video tutorial for python lowercase string
FAQ For Python Lowercase String
What is python lowercase string?
In python programming, lower() method is used to convert the uppercase string into lowercase string. The syntax of python lowercase string is : string.lower()
How to make a string lowercase in python?
By using lower() method, the string can be converted from uppercase to lowercase. The syntax is : string.lower()
What is python islower method?
In python, islower() method is used to check the given string are in lowercase or in uppercase. If the given string are in lowercase then it returns true otherwise false.
Learn More Python Programming Language
- Learn more about Find() Method
- Tkinter Python for GUI
- Strip in Python
- List method in Python
- Find() Method in Python
- Capitalize() method in python
- Clear screen in the python console
- Sequence in Python
- Mod in python
- Substring in python
- Fibonacci Series in Python
If you have any queries regarding python lowercase string then ask on the comment section, I am happy to answer your question
1 thought on “Python Lowercase String”