Commit d7651049 by BellCodeEditor

save project

parent 73782878
Showing with 4 additions and 2 deletions
...@@ -4,8 +4,9 @@ st3={'语文':93,'数学':83,'英语':82} ...@@ -4,8 +4,9 @@ st3={'语文':93,'数学':83,'英语':82}
score={'悟空':st1,'诺依':st2,'小贝':st3} score={'悟空':st1,'诺依':st2,'小贝':st3}
while True: while True:
name=input("名字: ") name=input("名字: ")
ff=name
if name==score[name]: if name==score[name]:
a=score[name]
print("*"1000)
for k,v in name.items(): for k,v in name.items():
print(k.v) print(k.v)
else: else:
......
score = {'语文':91,'数学':88,'英语':85} score = { }
for k,v in score: for k,v in score:
print(score) print(score)
\ 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