ADVERTENCIA: ¡Este programa tiene un error, lo que significa que debemos corregirlo!

REGLA: Cuando escribimos una declaración if, la línea de prueba debe tener dos puntos: al final de la línea.

  • Hacer clic Ejecute y lea el mensaje de error.
  • Coloque dos puntos al final de la segunda instrucción if, así: if choice == "hedgehog" :
  • Depure este programa para que pruebe "hedgehog" correctamente.

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)