Commit c0cc6690 by BellCodeEditor

save project

parent c4cb0f9d
Showing with 9 additions and 3 deletions
......@@ -4,6 +4,11 @@ student3= {'语文':24,'数学':78,'英语':47}
score={'吴':student1,'王':student2,'雨':student3}
name=input("名字")
info=score[name]
for k, v in info. items():
print(k,v)
print("*" * 30)
if name in score:
score=score[name]
for k, v in score. items():
print(k,v)
print("*" * 30)
else:
print("查寻错误")
\ 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