Python String lower() Method
The Python string lower() method converts each character of the subject string to their corresponding lowercase characters. The lower() method converts the Unicode characters in the string while the lower() method works on the ASCII character.
Syntax:
The lower case version of the subject string.
The following example converts the string Captain AMERICA into lower case and results in output as captain america
# Python example of the lower() method,
txt ='Captain AMERICA'
x = txt.lower()
print(x)
Output:
Here, we can see that, in the output of the lower() method, all of the ASCII characters in the original string have been replaced without their lowercase forms.