Loading…
![]() String updated in the repository |
|
![]() Translation changed |
|
![]() Contributor joined |
Contributor joined
8 months ago
|
![]() String updated in the repository |
|
We could directly write and use that array inside our [code]for[/code] loop instead of the [code]range()[/code] function. You can run the next function step-by-step to see how it works.
nun nombre preciso en código: la llamamos [i]matriz[/i] (o [code]array[/code]). Así que podemos decir que llamar a la función [code]range()[/code] produce una [i]arraymatriz[/i] de números.Podríamos escribir y u
stilizar directamente ese arraya matriz dentro de nuestro bucle [code]for[/code] en lugar de la función [code]range()[/code].Puedes ejecutar la siguiente función paso a paso para ver cómo funciona.