第13步:告诉用户他们猜测的数字是否太小。

我们的程序会告诉用户他们的猜测的数字是否太小,然后回到循环,让他们再次猜测。

  • .say() 中的字符串替换为 "Too low!"
  • 点击 ,将 Wait. 拖动到 .say() 下方的 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)