⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

1.2.2.3 Lists 2026-02-06 06.36.42.excalidraw

Text Elements

squares = [value**2 for value in range(1, 11)]

  1. 生成数字 list

  2. 循环列表

  3. 循环之后的数字,按照前面的逻辑进行处理,然后塞到 List 中