names=[
["Scott Walters","W12345",11],
["Rishi Goomar","G67890",8],
["Chris Flading","F45678",2],
["Chris Dearnley","D23456",10],
["Nick Smetana","S90123",5],
["Lukasz Morysewicz","M78901",15],
["Sravya Boddu","B34567",7],
["John Venderley","V56789",4]
]
for i in names:
i= names, license, warrants
print names[i],license[i],warrants[i]
为什么这样不行? 它说我不知道该怎么做
使用开箱包装。你知道吗
这里
把你的陈述翻过来。你的作业是向后的:
应该是
这将输出:
从Dive Into Python可以看到一个很好的教程,它包含了一次分配多个值。你知道吗
相关问题 更多 >
编程相关推荐