Pythonのrangeとforの出力3 / 4

Tupleとの違い

rangeは、immutable sequenceである。forで各値をprintする処理も、range objectを一度だけ表示する処理とは異なる。

学習パスへ
参考資料