Commit 8279a1ea by BellCodeEditor

save project

parent 3c235f50
Showing with 10 additions and 8 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:
print("*"*30) if k in score:
for d,v in score[k]: print("*"*30)
print(d,v) for d,v in score[k]:
print("*"*30) print(d,v)
else: elif k=="q":
print("错误")) break
\ No newline at end of file else:
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