Commit eabee64d by BellCodeEditor

save project

parent 4095c0a8
Showing with 15 additions and 9 deletions
...@@ -5,11 +5,17 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -5,11 +5,17 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
score=ssd
# 查询并打印出输入的
ssd=score["悟空"]["数学"] while True:
print(ssd) print("输入q退出程序")
name=input["查谁"]
ss=score["诺依"] if name in score:
for i,a in ss.items(): i=score[name]
print(i,a) for i,s in name.items
\ No newline at end of file print(i,s)
print("*"*30)
if name=q:
break
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