Not x.islower() has different output than x.isupper() in list output...
Jussi Piitulainen
jussi.piitulainen at helsinki.fi
Tue May 3 07:25:18 EDT 2016
Chris Angelico writes:
> This assumes, of course, that there is a function swapcase which can
> return a string with case inverted. I'm not sure such a function
> exists.
str.swapcase("foO")
'FOo'
More information about the Python-list
mailing list