组合两个列表,但不连接它们

时间:2016-03-20 11:49:04

标签: python python-3.x

我有两个清单:

names = ['me', 'you', 'him', 'her']
scores = ['4', '7', '5', '6']

如何组合它们以便制作一个列表?

combined = ['me: 4', 'you: 7', 'him: 5', 'her: 6']

0 个答案:

没有答案