标签:转换 尺寸 循环 python dia 颜色 acl black and
v = [i % 2 for i in range(10)]
print(v)
v = (i % 2 for i in range(10))
print(v) #生成器地址
for i in range(5):
print(i)
print()
0
1
2
3
4
4
标签:转换 尺寸 循环 python dia 颜色 acl black and
原文地址:https://www.cnblogs.com/hualibokeyuan/p/11217100.html