STEP 9: We're ready to create our nested for loop! We first need to cycle through our 2D list's rows.

  • In , drag Loop through List indented inside create_maze().
  • Then, change the variable value to row and the list we're looping through from my_list to maze.
  • Finally, in , drag Addition inside your for loop. It should be indented eight spaces.

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)