Like this? Actually, I don't understand the question because it has no purpose.
In [8]: L = [[] for _ in range(int(input("Input a number: ")))]
Input a number: 5
In [9]: L
Out[9]: [[], [], [], [], []]
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.