-
-
Save IndhumathyChelliah/0cd19a488cb46bdf8c1eac4f499e4226 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#casefold- converts all character to lower case | |
s1="Example Of String Methods" | |
print (s1.casefold()) #Output:example of string methods | |
s2="ß-Beta" | |
#ß-lowercase is equivalent to ss. casefold converts it to ss. But lower doesn't do that. | |
print (s2.casefold()) #Output: ss-beta | |
print (s2.lower())#Output: ß-beta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment