2015-12-12 入力された文字を逆順で表示する Python3 [::-1]を使う print(input()[::-1]) input().split().sort(reverse=True)と同じ効能。 ソートを行わない違いがある。