18 步:让我们再次使用get_time_of_day()来查看用户输入的新场景!

  • 在 LOGIC 中,转到并将Call w/ Parameter into Variablemain()函数的底部。将new_time_of_day my_var
  • 将函数从my_function()更改为get_time_of_day()
  • 在括号内,将参数从my_parameter更改为new_hour

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)