Commit 5ef1ee8e by BellCodeEditor

save project

parent d3e53961
Showing with 6 additions and 4 deletions
...@@ -4,6 +4,9 @@ scores = {'语文':95,'数学'100'英语':93} ...@@ -4,6 +4,9 @@ scores = {'语文':95,'数学'100'英语':93}
score = {'悟空':student1,'诺依':student2,'小贝':student3} score = {'悟空':student1,'诺依':student2,'小贝':student3}
name = input('悟空':student1,'诺依':student2,'小贝':student3) name = input('悟空':student1,'诺依':student2,'小贝':student3)
info = score[name] score = score[name]
for k,yin scores.items(): for k,yin scores.items():
print(k,y) print(k,y)
\ No newline at end of file print("*" * 30)
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