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
[[...], [...], [...], [...], [...], [...], [...], [...], [...], [...]]