第5步:这次,如果玩家选择布,if 语句将使程序执行某些操作。

  • 点击 ,并将 if 拖动到代码底部。
  • 将测试值更改为 "paper"
  • 点击 ,并将 Paper 拖动到 if 语句中。

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)