You are viewing a single comment's thread. Return to all comments →
def swap_case(s): swap = "" for char in s: if char.isupper(): swap = swap + char.lower() else: char.islower() swap = swap + char.upper() return swap
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 →
def swap_case(s): swap = "" for char in s: if char.isupper(): swap = swap + char.lower() else: char.islower() swap = swap + char.upper() return swap