Commit c24ca02b by BellCodeEditor

save project

parent 3f2c7901
Showing with 6 additions and 4 deletions
...@@ -3,10 +3,12 @@ b={'语文':93,'数学':10,'英语':85} ...@@ -3,10 +3,12 @@ b={'语文':93,'数学':10,'英语':85}
c={'语文':54,'数学':0,'英语':88} c={'语文':54,'数学':0,'英语':88}
score={'悟空':a,'诺依':b,'小贝':c} score={'悟空':a,'诺依':b,'小贝':c}
name=input("名字:") name=input("名字:")
for i in items(): if name in score:
print(i) for i,v in score[name].items():
print("*"*30)
print(i,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