def swapcase(s):
 return s.swapcase()

def swapcase ( s ) : return s . swapcase ( )
swapcase(s) -> string return a copy of the string s with upper case characters converted to lowercase and vice versa .