Commit 670888fb by BellCodeEditor

save project

parent 10185757
Showing with 10 additions and 6 deletions
......@@ -8,14 +8,18 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
# 查询并打印出输入的名字对应的所有科目的成绩
while True:
print("噶一个产业扶持常温库VB为级别服了我是王菲和农村发我一份我拿到符合我给哦陈思诚已完成鸟儿预测气IE衣服黑噢耶 ")
name=input("名字:")
print("*"*30)
if name in score:
a=score[name]
info=score[name]
for g,s in info.items():
print(g,s)
print("*"*30)
for g,s in a.items():
elif name == "q":
print(g,s)
break
else:
print('输入错误')
\ No newline at end of file
print('输入错误')
print("*"*30)
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