Python lower() Method: Convert String to Lowercase
The 'lower()' method is a built-in Python function used to convert all the characters of a string to lowercase. It returns a new string with all the alphabetic characters of the original string in lowercase.
Syntax:
string.lower()
Example:
text = 'Hello World'
print(text.lower())
Output:
hello world
原文地址: https://www.cveoy.top/t/topic/oT0A 著作权归作者所有。请勿转载和采集!