第 9 步:我们已准备好创建嵌套的 for 循环!我们首先需要循环遍历 2D 列表的rows

  • ,通过在create_maze()内缩进Loop through List
  • 然后,将变量value更改为row以及我们从my_list循环到maze的列表。
  • 最后,在,将Addition拖到 for 循环中。它应该缩进八个空格

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
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)