diffference between lower( ) and casefold( )
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: Jan. 17, 2022, 11:52 a.m.
Updated: Jan. 17, 2022, 1:34 p.m.
0