Commit 16b07ef9 by BellCodeEditor

save project

parent 65c1e70e
Showing with 8 additions and 3 deletions
scorel={"语文":100,"数学"100,"英语":100} scorel={"语文":100,"数学":100,"英语":100}
score2={"语文":100,"数学"100,"英语":100} score2={"语文":100,"数学":100,"英语":100}
score3={"语文":0,"数学"0,"英语":0} score3={"语文":0,"数学":0,"英语":0}
studend={"郝骏达":scorel,"郝浚尧":score2,"小贝":score3} studend={"郝骏达":scorel,"郝浚尧":score2,"小贝":score3}
name=input("名字:") name=input("名字:")
if name in studend:
for k,v in studend[name].items():
print(k,v)
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