Commit 60048c02 by BellCodeEditor

save project

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