Commit 75a78468 by BellCodeEditor

save project

parent 31f5cf7c
Showing with 9 additions and 6 deletions
score = {'语文':59.99999,'数学':59.99999999,'英语':59.9999999999999} s1={'语文':545,'数学':574,'英语':444}
for e,r in score.items(): s2={'语文':463,'数学':456,'英语':345}
print(e,r) s3={'语文':59.999999999999,'数学':59.9999999999,'英语':59.99999999999}
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 s={'老六':s1,'老八':s2,'老王':s3}
while True:
n=input('輗訞餷誰?????')
l=s[n]
for j,k in l.items():
print(j,k)
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