第 2 步:我们应该有一个描述性的变量名称并更改 ask 命令中的内容。

  • 将等号左侧的变量从guess更改为r
  • .ask()中的字符串更改为"How much red? Enter a value between 0 and 255." .

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)