Skip to content

Write a program to read a character in Uppercase and print it in lowercase in Python

  • by

Python has many methods to convert a character or string entered by the user from uppercase to lowercase. The best way is to use the lower() method.

Example Program to read a character in Uppercase and print it in lowercase in Python

Simple example code Uppercase to Lowercase using lower(). Where input string taking from the user.

print("Enter: ", end="")
text = input()

text = text.lower()
print("Lowercase:", text)

Output:

Program to read a character in Uppercase and print it in lowercase in Python

Do comment if you have any doubts and suggestions on this Python Uppercase-lowercase program.

Note: IDE: PyCharm 2021.3.3 (Community Edition)

Windows 10

Python 3.10.1

All Python Examples are in Python 3, so Maybe its different from python 2 or upgraded versions.

Leave a Reply

Your email address will not be published. Required fields are marked *