For all your list needs.

    • Silverchase@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago
      Python 3.12.7 (main, Oct  1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      >>> l = []
      >>> l[:] = [l] * 10
      >>> l
      [[...], [...], [...], [...], [...], [...], [...], [...], [...], [...]]