Commit 8279a1ea by BellCodeEditor

save project

parent 3c235f50
Showing with 7 additions and 5 deletions
...@@ -3,10 +3,12 @@ a2={"语文":97,"数学":90} ...@@ -3,10 +3,12 @@ a2={"语文":97,"数学":90}
a3={"语文":95,"数学":93} a3={"语文":95,"数学":93}
score={"a":a1,"b":a2,"c":a3} score={"a":a1,"b":a2,"c":a3}
k=input() k=input()
if k in score: while True:
if k in score:
print("*"*30) print("*"*30)
for d,v in score[k]: for d,v in score[k]:
print(d,v) print(d,v)
print("*"*30) elif k=="q":
else: break
print("错误")) else:
\ No newline at end of file print("错误")
\ 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