Python string | swapcase()
The string swapcase() method converts all uppercase characters to
lowercase and vice versa of the given string, and returns it.
Here string_name is the string whose cases are tobe swapped.
Parameter: The swapcase() method does not takes any parameter.