Commit fb0216d2 by BellCodeEditor

save project

parent 708c4a00
Showing with 9 additions and 6 deletions
......@@ -7,11 +7,14 @@ score1={"语文":98,"数学":150,"英语":90}
score2={"语文":50,"数学":100,"英语":74}
score3={"语文":78,"数学":90,"英语":100}
name = {"小明":score1,"小花":score2,"小王":score3}
a = input()
print("*"*30)
if a in name
while True:
a = input()
print("*"*30)
if a in name
for v in score.values():
print(v)
else:
elif a == 'q':
break
else:
print("查询错误")
print("*"*30)
\ No newline at end of file
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