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