STEP 5: Let's change the names of our lists to correspond with the data they'll hold.

Variable names are important. They let us use sprites, objects, and lists later on in our program.

  • The first list will store temperature data, so change the name of your first list from my_list to data_list.
  • The second list will store the time! Change the name of your second list from my_list to time_list.
  • Click Run. Then click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

microbit = codesters.Microbit() microbit.show_string("hello") data = microbit.get_temp() microbit.show_number(data) my_list = [] my_list = []
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)