PASO 17: ¡Terminemos la función divide() !

  • Desde drop Division con sangría dentro de la función divide() .
  • Cambie el nombre de la variable de my_var a quotient . Cambie el 6 a num_1 y el 2 a num_2 .
  • Añadir Say . Cambie la cadena a "The quotient is " + str( quotient ) .
  • Drop Wait dentro de la función, después del . say() comando.

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)