Los bucles repiten el código. for itera sobre cualquier cosa que tenga un iterador: rangos, matrices, listas, cadenas. while comprueba una condición antes de cada iteración; do- while se ejecuta al menos una vez. Utilice repetir(n) { } cuando solo necesite un contador 0 hasta n-1.

para: iterar sobre una colección o rango
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.