PASO 7: Agreguemos otra instrucción if para verificar si el usuario respondió "moon" .

  • Vaya a LÓGICA y en , arrastre otro if y suéltelo en la parte inferior de su programa.
  • Cambie el valor de la prueba a "moon" .
  • En GRÁFICOS, vaya a y arrastre un comando Say y suéltelo DENTRO de la nueva declaración if.
  • Cambia la cadena en .say() a "I can't believe I'm on the moon!"

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)