you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago (1 child)

An iterable is just something that can be iterated over, like range(10), or [1, 2, 3].

A sequence on the other hand is a Collection that is reversible.

https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes

  • source
  • parent
  • hideshow 2 child comments