Swap Case Python Hackerrank Solution