17 步:要将场景更改为一天中的新时间,我们再次需要来自新 datetime 对象的小时。

  • 在主题中,转到并将Hour拖到 main 函数的底部
  • my_hour更改为new _hour并将my_datetime更改为new_datetime

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)