結果 : reverse words and swap cases in python hackerrank solution