PASO 13 : Ahora que nuestra función está escrita, ¡debemos llamarla!

  • Predigamos cuánto dormiría un estudiante si estuviera a 50 minutos de la escuela.
  • En , arrastre Return Variable FUERA y DEBAJO de su función.
  • Cambie my_function( my_var ) a line( slope , 50 , y_intercept ) .
  • Cambie la variable a la izquierda del signo = de my_var a predicted_sleep .

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)