August 17, 2024
Change string in lowercase with lower function
You can convert a string into lower case (all letters in small letters) with using of lower function in Python. The example of lower method is mentioned below:
Code
greetingStr = "Good Morning"
result = greetingStr.lower()
print(result)