What's the difference between
help(str.lower)
Return a copy of the string converted to lowercase.
help(str.casefold)
Return a version of the string suitable for caseless comparisons.
What's the special about “caseless comparisons”. In which use case should you use which method?
Created at: 2022/01/17 11:52; Updated at: 2022/01/17 13:34
The question is resolved.