Hackerrank Swap Case Python Problem Solution