更新时间:2023-11-23 09:43:58
对于手动创建指定数量的列表,这样做会很好:
For manually creating a specified number of lists, this would be good:
empty_list = [ [], [], ..... ]
如果您想生成更多列表,那么将其放入for循环中会很好:
In case, you want to generate a bigger number of lists, then putting it inside a for loop would be good:
empty_lists = [ [] for i in range(n) ]