Commit c41048f7 by BellCodeEditor

save project

parent b71814f9
Showing with 6 additions and 6 deletions
...@@ -2,9 +2,9 @@ a={"A":44,"B":55,"C":66} ...@@ -2,9 +2,9 @@ a={"A":44,"B":55,"C":66}
b={"A":66,"B":77,"C":88} b={"A":66,"B":77,"C":88}
c={"A":100,"B":100,"C":100} c={"A":100,"B":100,"C":100}
d={"马":a,"依":b,"刘":c} d={"马":a,"依":b,"刘":c}
for i,k in d.items(): e=input("输入名字")
e=d[i] if e in d:
print(i,end=" ") for k,v in d[e].items():
for f,g in e.items(): print(k,v)
print(f,g,end=" ") else:
print() 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