繰り返し処理しかしない場合は、Iterable を使う。 順序やインデックスアクセスが必要ならSequence リスト、タプル、文字列を幅広く受け入れたい場合に便利。 柔軟性が必要な場合はCollection 要素のカウントや基本操作ができれば十分という場合に使う。
Welcome to a collection of Jupyter Notebooks from the How to Python series on The Renegade Coder. For convenience, you can access all of the articles, videos, challenges, and source code below.