STEP 4: We've accessed our spreadsheet! Let's now pull our password from it.

We can use .get_column() on a Google spreadsheet to access a specific column.

  • In , drag Get Column inside main().
  • The above command returns a list. In , drag Get Value at Index inside main().
  • Change the variable name my_list to col and change my_var to password.

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)