Commit f5fbd8de by BellCodeEditor

save project

parent 62692a77
Showing with 20 additions and 0 deletions
s1={'语':91,'数':88,'英':85}
s2={'语':97,'数':98,'英':90}
s3={'语':95,'数':10,'英':93}
score = {'a':s1,'b':s2,'c':s3}
while True:
print("退出q")
name = input("名字")
print("*"*30)
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("结束")
\ 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