Besonderhede van voorbeeld: -9204328377233288143

Metadata

Author: WikiMatrix

Data

Bulgarian[bg]
Косвените итератори най-често се изразяват чрез цикъла "foreach" (или еквивалентен), като в следващия пример на Python: for value in iterable: print value В Python "iterable" е обект, към който може да се прикачи итератор, който след това се повтаря по време на цикъл.
English[en]
Implicit iterators are often manifested by a "foreach" statement (or equivalent), such as in the following Python example: for value in iterable: print value In Python, an iterable is an object which can be converted to an iterator, which is then iterated through during the for loop; this is done implicitly.

History

Your action: