You are viewing a single comment's thread. Return to all comments →
Not the simplest but it works:
print ''.join([i.lower() if i.isupper() else i.upper() for i in raw_input()])
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 →
Not the simplest but it works:
print ''.join([i.lower() if i.isupper() else i.upper() for i in raw_input()])