You are viewing a single comment's thread. Return to all comments →
s=input('string') conv_string=s.swapcase() print(conv_string)
Seems like cookies are disabled on this browser, please enable them to open this website
sWAP cASE
You are viewing a single comment's thread. Return to all comments →
s=input('string') conv_string=s.swapcase() print(conv_string)
as python provides built in function for swapping