PASO 8: Cada vez que se ejecute el ciclo, lo necesitaremos para hacerle una pregunta al usuario, esperar y luego almacenar la elección del usuario.

  • Cambie el argumento en .ask() de "Yes or no?" a la question variable.
  • En , arrastre Append DENTRO del bucle.
  • Cambie el nombre de la lista antes .append() a user_choices y la variable a choice .

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)