About 1,690,000 results
Open links in new tab
  1. What are iterator, iterable, and iteration? - Stack Overflow

    Iterables can be used in a for loop and in many other places where a sequence is needed (zip (), map (), …). When an iterable object is passed as an argument to the built-in function iter (), it …

  2. bucles - Cual es la definición de ITERABLES e ITERADORES y sus ...

    Sep 23, 2022 · Cual es la definición de ITERABLES e ITERADORES y sus diferencias [Python] Formulada hace 3 años y 2 meses Modificada hace 3 años y 2 meses Vista 973 veces

  3. java - What is the difference between iterator and iterable and …

    Jul 28, 2011 · An Iterable is a simple representation of a series of elements that can be iterated over. It does not have any iteration state such as a "current element". Instead, it has one …

  4. Python: how to determine if an object is iterable?

    Methods of testing if object is iterable To test various methods, I created 40 different iterables and non-iterables, and tried a bunch of functions for 1_000_000 times on each iterable/non …

  5. What exactly does "iterable" mean in Python? Why isn't my object …

    Iterables can be used in a for loop and in many other places where a sequence is needed (zip (), map (), ...). When an iterable object is passed as an argument to the built-in function iter (), it …

  6. How can I tell the difference between an iterator and an iterable?

    How can I test that an iterable is really an iterable and not an iterator? Conceptually I understand iterables to be collections, while an iterator only manages the iteration (i.e., keeps track of the …

  7. What's the difference between an iterable and a list in python 3?

    Closed 9 years ago. Under the hood, aren't iterables just lists? What's the use of having wrappers like map filter list and others like them? What does something being a filter actually tell you, …

  8. How to join two generators (or other iterables) in Python?

    More general: def chain(*iterables): for iterable in iterables: yield from iterable (Put the def and for on separate lines when you run it.)

  9. angular - Error: NG0900: Error trying to diff ' [object Object]'. Only ...

    May 24, 2022 · Currently, I'm working on a MovieTicketBooking website using Angular and an asp.net web API. It got stuck at one point where I could not fix it. When I try to display movie …

  10. Diferencia entre objetos iterable, iterator y secuencias en Python 3 ...

    Mar 4, 2020 · He visto que en Python 3 hay objetos tipo iterable, objetos tipo iterator y también hay secuencias. Mis preguntas son: ¿Cuál es la diferencia? ¿Todos se pueden recorrer en un …