print(['1' for i in range(4)]) 结果: ['1', '1', '1', '1'] 转载于:https://www.cnblogs.com/yrxns/p/7677275.html