python-如何创建拥有固定数量空列表的列表

features = [[] for _ in range(6)]
print(features)  # [[], [], [], [], [], []]

你可能感兴趣的:(Python)