Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Python program to convert UPPERCASE to lowercase

In this post, I am going to write a very simple Python program to convert an UPPERCASE string to lowercase.

Without wasting our time, let’s write the program now, I am going to use Python 3 syntax for this, so If you are going to use the below script please make sure you are using Python 3:

#get the input string from user
print ("Enter a string in uppercase:")
string = input()

#convert to lowercase
output = string.lower()

#print the output
print ("Lowercase:")
print (output)

Yes, It’s a very simple program as it looks, Python provides a default method called lower(), which can be used to convert the UPPERCASE characters in a string lower case.

I hope this program is helpful for beginners Python programming learners and school / college students.

The post Python program to convert UPPERCASE to lowercase appeared first on TutorialsMade.



This post first appeared on TutorialsMade - Ultimate Tutorial, please read the originial post: here

Share the post

Python program to convert UPPERCASE to lowercase

×

Subscribe to Tutorialsmade - Ultimate Tutorial

Get updates delivered right to your inbox!

Thank you for your subscription

×