第 11 步:让精灵告诉我们现在是什么时间。

  • 并将Adding Strings拖到main()的底部。将"Thing 1"更改为"Right now it's " 。将字符串"Thing 2"替换为变量time_of_day 。确保不要删除+号!
  • 在图形中,转到并将Say拖到下一行。用my_var替换 say 文本。
  • Wait拖到main()的下一行。

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)