STEP 12: We've just pulled previous high scores into our program. Let's now add our most recent score to the list!

  • In , drag Append to the bottom of main(). It should be indented 4 spaces.
  • Change the variable in front of .append() from my_list to data.
  • Then, change my_var to [player_name, time]. Don't forget the ( ) around the brackets!

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)