PASO 7: ¡Lanzamos una bola de fuego! Configuremos el otro hechizo de la misma manera.

  • Encuentra la instrucción elif en la función cast_spell() . Si elegimos la opción b , ¡ rock_smash() !
  • Reemplace el pass en la instrucción elif con esta llamada de función: rock_smash( caster )
  • Hacer clic ¡Corre e intenta elegir b esta vez para lanzar el hechizo Rock Smash!

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)