how to convert lowercase to uppercase and vice versa in python code example
Example: how to convert uppercase to lowercase and vice versa in python
def swap_string():
s=input()
swapped_string=""
swapped_string+=s.swapcase()
return swapped_string