Issue
Is there a way to convert a string from uppercase, or even part uppercase to lowercase?
For example, "Kilometers" → "kilometers".
Solution
Use .lower()
- For example:
s = "Kilometer"
print(s.lower())
The official 2.x documentation is here: str.lower()
The official 3.x documentation is here: str.lower()
Answered By - Petar Ivanov
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.