第7步"paper" 打败了"rock" ,所以计算机将在这一轮胜出。

  • 在 if 语句中,将第一个测试值更改为 "rock"
  • 在 if 语句中,将第二个测试值更改为 "paper"
  • .set_text() 中的字符串更改为 "Computer wins!"

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
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)