結果 : iterate from last to first python