Commit be4d319e by BellCodeEditor

save project

parent 4a8751a7
Showing with 21 additions and 4 deletions
score = {'语文':91,'数学':91,'英语':91,}
for k,v in score.items():
print(k,v)
\ No newline at end of file
S = {'语文':91,'数学':91,'英语':91,}
B = {'语文':91,'数学':91,'英语':91,}
score = {'冬梅':S,'傻春':B,}
while True:
name = input("名字:")
print("*"*30)
print("退出输入q")
if name in score:
info = score[name]
for k,v in info.items():
print(k,v)
print("*"*30)
elif name == "q":
break
else:
print("错误")
print("*"*30)
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