Hackerrank Python Swap Case Solution