Commit f05d6a4b by BellCodeEditor

save project

parent 9ca7b04e
Showing with 8 additions and 2 deletions
......@@ -8,4 +8,10 @@ score2={"语文":50,"数学":100,"英语":74}
score3={"语文":78,"数学":90,"英语":100}
name = {"小明":score1,"小花":score2,"小王":score3}
a = input()
for v in score.values():
\ No newline at end of file
print("*"*30)
if a in name
for v in score.values():
print(v)
else:
print("查询错误")
print("*"*30)
\ 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