Ahora necesitamos decirle al programa que hacer si los dos jugadores eligen "rock".

  • Cambia el string en .set_text() a "Tie Game!".

¡Escribe rock como tu elección, y continúa corriendo tu programa hasta que el computador escoja rock con el fin de probar el programa!

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)