第12步:现在用户没有用完尝试机会,我们让用户继续猜测。

  • Ask 拖动到 for 循环内部、if 语句外部的位置。
  • 将变量名称更改为 guess
  • 将字符串更改为 "What do you think my word is?"

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)