标签:python pen python 列表 方法 col app for div end
X=[[1,1,1], [2,2,2], [3,3,3]] y=[1,2,3] for i in range(len(y)): X[i].append(y[i]) >>> X [[1, 1, 1, 1], [2, 2, 2, 2], [3, 3, 3, 3]]
标签:python pen python 列表 方法 col app for div end
原文地址:https://www.cnblogs.com/ldyj/p/10310959.html