第5步:现在我们需要告诉程序,如果两个玩家都选择 "rock",该怎么办。

在选择中输入石头。继续运行程序,直到计算机为了测试程序而出石头!

  • .set_text() 中的字符串更改为 "Tie Game!"

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)