STEP 9: Our row of data is now ready to add to the empty list we created earlier.

  • In , drag Append inside the loop with get_high_scores(). It should be indented 8 spaces.
  • Change the variable in front of .append() from my_list to csv_contents.
  • Then, change the variable inside the parentheses from my_var to row.

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)