sWAP cASE

  • + 0 comments

    s=input('string') conv_string=s.swapcase() print(conv_string)

    as python provides built in function for swapping