Commit 4938b9df by BellCodeEditor

save project

parent 3808bb38
Showing with 3 additions and 3 deletions
...@@ -2,5 +2,5 @@ score = {'语文':100,'数学':100,'英语':100} ...@@ -2,5 +2,5 @@ score = {'语文':100,'数学':100,'英语':100}
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
for k,v in score.items(): for k,v in score.items():
q=k+v print(k)
print(q) print(v)
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment