Skip to main content
iterable

iterable

7.7
A collection you can use in a loop to access items, like a list or string
  • noun
  • /ˈɪtərəbəl/
  • Specialized
translation icon : objeto iterable
  • The list of numbers is an iterable that you can easily access with a for loop.

Examples

  • If you go through it, we get an iterable of pairs of keys and values.

  • So notice the months here is actually this, this, this the value that this range returns, which is like an iterable, like a tuple.

  • In Python, an iterable allows you to traverse its elements using a loop.

  • To display each item in the set, we need to use the iterable interface.

Synonyms

enumerable
vsiterable
  • Specialized
7.8

Can be listed and used one item at a time by a program

is a general programmable collection you loop over to access each element

Surface Forms

iterable singular
iterables plural

Morphology

iterable = iterable (semi-transparent) = iterate + able

The noun is a nominalized use of the adjective 'iterable', whose meaning is fairly clear from 'iterate' + '-able', though the programming sense is specialized.

Etymology

Iterable as a noun shares the Latin root iter- from iterare, meaning 'to do again', and simply means 'something you can go through'. So an iterable object, like a list or a string, is one you can loop over to visit each element in order.