标签:lazy img inf print mic class zip 图片 pytho
A = [i for i in range(0,10)]
B = [ i**2 for i in A]
for k,v in zip([‘a‘,‘b‘,‘c‘,‘d‘],[1,2,3,4]):
print(k,v)
d = { key:value for (key,value) in zip([‘a‘,‘b‘,‘c‘,‘d‘],[1,2,3,4])}
d
标签:lazy img inf print mic class zip 图片 pytho
原文地址:https://www.cnblogs.com/sinlearn/p/13060919.html