阅读背景:

python中的列表生成式

来源:互联网 

 

 

l = []
for i in range(1, 11): # 顾头不顾尾
l.append(str(i).zfill(2))



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: