Is there a way to convert a string from uppercase, or even part uppercase to lowercase?
For example, "Kilometers" → "kilometers".
Use .lower() - For example:
.lower()
s = "Kilometer" print(s.lower())
The official 2.x documentation is here: str.lower() The official 3.x documentation is here: str.lower()
str.lower()
1.4m articles
1.4m replys
5 comments
57.0k users