2019-10-14 こいついつも Python の話してるな Python Python のここが好き 文字列 s の順番を逆にした文字列を作る >>> s = 'hoge' >>> s[::-1] 'egoh'