第 5 步:现在让我们向用户询问他们选择的新颜色。

注意: Ask块会打开一个文本框,用户可以在其中键入程序的输入。

  • 并将Ask拖入程序底部。
  • ask()命令中的文本更改为"What color is this part of the flag?"

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)