We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
you can also use the swap case built-in function most people don't know that its exist
def swap_case(s): return s.swapcase() if __name__ == '__main__': s = input() result = swap_case(s) print(result)
happy coding