+ 1
Como funciona el ¿for?
no termino de entender bien como funcionan los for , por favor agradeceria muchisimo la ayuda
2 ответов
+ 1
A for loop is used when the programmer needs to iterate over a set of data. Typically it's used to iterate over some type of sequence, think strings,lists, Tuples and so forth. By doing so we're capable of manipulating pieces of information quickly. Imagine you have a list of random integers that has over 100 elements and we want to find out how many of them are even. We can use a for loop to determine which elements are even when it's combined with the ℅ operator.
Si no eres bueno en inglés. Utiliza Google Translate como yo al español.
+ 1
ok, thx