Commit f53b6d07 by BellCodeEditor

save project

parent 16b07ef9
Showing with 4 additions and 0 deletions
...@@ -4,8 +4,12 @@ score3={"语文":0,"数学":0,"英语":0} ...@@ -4,8 +4,12 @@ score3={"语文":0,"数学":0,"英语":0}
studend={"郝骏达":scorel,"郝浚尧":score2,"小贝":score3} studend={"郝骏达":scorel,"郝浚尧":score2,"小贝":score3}
name=input("名字:") name=input("名字:")
if name in studend: if name in studend:
print("*"*30)
for k,v in studend[name].items(): for k,v in studend[name].items():
print(k,v) print(k,v)
print("*"*30)
else: else:
print("名字输入有误") 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