Ejemplo 1: python foresch
for pet in pets:
print pet
Ejemplo 2: bucle foreach en python
# Python doesn't have a foreach statement per se.
# It has for loops built into the language.
# As a side note the for element in iterable syntax comes from
# the ABC programming language, one of Python's influences
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)