+ 1

Como funciona el ¿for?

no termino de entender bien como funcionan los for , por favor agradeceria muchisimo la ayuda

3rd Jan 2017, 12:58 PM
powercoque
powercoque - avatar
2 Réponses
+ 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.
4th Jan 2017, 6:02 AM
Don
Don - avatar
+ 1
ok, thx
4th Jan 2017, 10:09 AM
powercoque
powercoque - avatar