Commit d749b613 by BellCodeEditor

save project

parent b6ff37b4
Showing with 13 additions and 0 deletions
student1 = {"语文":88,"数学":90,"英语"99}
student2 = {"语文":88,"数学":90,"英语"99}
student3 = {"语文":88,"数学":90,"英语"99}
student4 = {"语文":88,"数学":90,"英语"99}
score={"张三":student1,"李四":student2,"王五":student3:"马三":student4}
while True:
print("请输入要查询的名字,退出请输入q")
name = input("请输入要查询的名字:")
print("*"*30)
if name in score:
info = score[name]
for k,v in info.items()
\ 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