用Python编写代码处理学生成绩数据
# 定义一个列表,存放多个学生的成绩
scores = [{'sid':'101', 'Math':85, 'English':82}, {'sid':'102', 'Chinese':70, 'Math':75, 'English':72}]
# 打印出所有学生的成绩
for score in scores:
print(score)
免责声明:
以上内容除特别注明外均来源于网友提问,创作工场回答,未经许可,严谨转载。