PASO 3: Podemos usar la palabra clave de Python and probar dos cosas al mismo tiempo: choice and computer_choice .

  • En LÓGICA, vaya a y arrastre if and . Suéltelo en la parte inferior de su programa.
  • Cambie la primera variable de prueba a choice y la segunda variable de prueba a computer_choice .
  • En GRÁFICOS, vaya a y arrastre Set Text . Suéltelo con sangría dentro de la instrucción if-and.
  • Cambie el nombre de la variable delante del comando .set_text() de sprite a result .

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)