第 13 步:让我们将用户的输入添加到当前时间以查看未来时间。

  • 在主题中,转到并拖入Timedelta (add hours)
  • 在括号内,将等号后面的数字从12更改为add_time
  • 拖入Add Timedelta

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)