2018-11-29 Pythonのreversedとリスト内包 コンピュータ設定・操作 #練習用 rev_array = reversed([0,1,2]) print([ "abcde"[idx] for idx in rev_array ]) print([ "abcde"[idx] for idx in rev_array ]) 出力: ['c', 'b', 'a'][] リスト内包ではiteratorがリセットされないのか?