sWAP cASE

  • + 0 comments
        c=''.join([s[i].lower() if s[i].isupper() else s[i].upper()  for i in range(len(str(s)))])
        return c