RETO #4: ¡Vaya, este código es confuso! Simplifiquémoslo usando funciones con parámetros.

  • Use solo un Loop with Range .
  • Cree una función llamada launch usando Define Function with Parameters con un parámetro: launch_velocity .
  • Tu código debería hacer EXACTAMENTE lo mismo que el programa original.

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)