Commit ae066563 by BellCodeEditor

save project

parent 9d4115a5
Showing with 24 additions and 0 deletions
s1={'a':91,'b':88,'c':85}
s2={'a':97,'b':98,'c':90}
s3={'a':95,'b':100,'c':93}
score = {'你妈':s1,'你爸':s2,'你大爷':s3}
while True:
name = input("名字,退出输q:")
print('*'*30)
if name in score:
into = score[name]
for k,v in into.items():
print(k,v)
elif name =="q":
break
else:
print("名字错误,请重新输入")
print("查询结束")
\ No newline at end of file
score={'a':91,'b':88,'c':85}
for k,v in score.items():
print(k,v)
\ 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