Commit 03cf27df by BellCodeEditor

save project

parent 62692a77
Showing with 19 additions and 0 deletions
st1={"数学":99,"英语":98,"语文":97,}
st1={"数学":99,"英语":98,"语文":97,}
st2={"数学":98,"英语":96,"语文":99,}
st3={"数学":90,"英语":100,"语文":99}
score={"song":st1,"chen":st2,"yang":st3,}
while True:
name=input("请输入正确的名字进行查询:")
if name in score:
st=score[name]
print("_"*30)
for k,v in st.items():
print(k,v)
print("_"*30)
elif "q"==name:
break
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