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
0 votes
1 answer
asked Jul 2, 2019 in Python by Sammy (47.6k points)

Browse Categories

...