STEP 17: To change our scene to the new time of day, we again need the hour from the new datetime object.

  • In SUBJECT, go to and drag Hour into the bottom of the main function
  • Change my_hour to new_hour and my_datetime to 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
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)