You are viewing a single comment's thread. Return to all comments →
def swap_case(s): k = [x for x in s] for i in range(len(k)): if k[i].isupper(): k[i]=k[i].lower() elif k[i].islower(): k[i]=k[i].upper() else: k[i] = k[i] return "".join(k)
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 →