Commit 2cdfda8b by BellCodeEditor

save project

parent 62692a77
Showing with 11 additions and 0 deletions
q = {"A":59,"B":80,"C":90}
w = {"A":87,"B":56,"C":99}
e = {"A":65,"B":60,"C":99}
r = {"悟空":q,"小贝":w,"依依":e}
z=input("输入姓名")
if z in r:
for k,v in r[z].items():
print(k,v)
else:
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