Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (12.7k points)

I just want to know, how to convert a string from uppercase to lowercase in python?

Example:

From "FirstModule" -> "firstmodule"

1 Answer

0 votes
by (26.4k points)

You can use .lower()

Look at the following code:

s="FirstModule"

print(s.lower())

You will get firstmodule as output.

Wanna become an expert in python? Enroll yourself to the python course and get certified in the field of python.

For more details, do check out...

Related questions

+1 vote
2 answers
0 votes
1 answer
0 votes
1 answer
asked Jul 2, 2019 in Python by Sammy (47.6k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.6k users

Browse Categories

...