Commit 60048c02 by BellCodeEditor

save project

parent 2d73f64d
Showing with 8 additions and 3 deletions
...@@ -3,9 +3,14 @@ s2={'数':84,'语':94,'外':87} ...@@ -3,9 +3,14 @@ s2={'数':84,'语':94,'外':87}
s3={'数':84,'语':94,'外':87} s3={'数':84,'语':94,'外':87}
score={'a':s1,'b':s2,'c':s3} score={'a':s1,'b':s2,'c':s3}
name=input("名字") name=input("名字")
info=score[name] print('*'*30)
for k,v in info.items(): if name in score:
print(k,v) info=score[name]
for k,v in info .items():
print(k,v)
print('*'*30)
else:
print("无人")
......
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