为什么这么复杂,简单点答案好像也对
d = {
'Alice': [45],
'Bob': [60],
'Candy': [75],
}
d = dict()
d['Alice'] = [50, 61, 66]
d['Bob'] = [80, 61, 66]
d['Candy'] = [88, 75, 90]
print(d)
d = {
'Alice': [45],
'Bob': [60],
'Candy': [75],
}
d = dict()
d['Alice'] = [50, 61, 66]
d['Bob'] = [80, 61, 66]
d['Candy'] = [88, 75, 90]
print(d)
2020-10-22
举报