• Ve a y arrastra Loop with Range. Suéltalo al final de tu programa.
  • Ve a y arrastra Add Value dentro del loop. Debe tener un bloque púrpura ···· al frente.
  • Cambia el nombre de la variable en el comando a x.
  • Cambia el entero en el comando a 50.

Cada vez que pasamos por el loop el valor de x aumentará en 50. La linea x += 50 significa "suma 50 a la variable x."

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)