Vamos a decirle al jugador que el computador ganó si él esgogió "paper" y el computador escogió "scissors".

  • Adiciona if and y prueba si choice es igual a "paper" y computer_choice es igual a "scissors".
  • Arrastra Set Text. Asigna el comando a result.
  • Cambia el string a "Computer wins!" ya que tijeras vencen a papel.

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)