Commit 34b0e614 by BellCodeEditor

save project

parent 331a7296
Showing with 1 additions and 1 deletions
...@@ -6,7 +6,7 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3} ...@@ -6,7 +6,7 @@ score = {'悟空': student1, '诺依': student2, '小贝': student3}
s=input("姓名:") s=input("姓名:")
print("*"*40) print("*"*40)
if s in score: if s in score:
x=score.[s] x=score[s]
for k,v in x.items(): for k,v in x.items():
print(k,v) print(k,v)
else: else:
......
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