Python swapcase

The Python swapcase function swaps the case of the characters and returns a new string. Or say, it converts the Lowercase letters to Uppercase and vice versa. It keeps the Non letters unchanged, and the syntax of the is String_Value.swapcase() Python swapcase method Example The following set of examples helps to know about Python swapcase. … Read more