強弱と高低

Python3をメインに

入力された文字を逆順で表示する

[::-1]を使う

print(input()[::-1])

input().split().sort(reverse=True)と同じ効能。
ソートを行わない違いがある。