PASO 12 : ¡Terminemos nuestra función!

El uso de una declaración de retorno nos permitirá usar el valor y , fuera de la función.

  • Dentro de su función, reescriba el enunciado de la multiplicación para que se vea así: y = m * x + b .
  • Entonces, en , arrastre Return Statement DENTRO de su función.
  • Cambie la variable my_var a y .

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)