str.swapcase

swapcase()

Return a copy of the string with uppercase characters converted to lowercase and vice versa.

For 8-bit strings, this method is locale-dependent.

 

A Django site. rendered by a django application. hosted by webfaction.