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}
b={"A":66,"B":77,"C":88}
c={"A":100,"B":100,"C":100}
d={"马":a,"依":b,"刘":c}
for i,k in d.items():
e=d[i]
print(i,end=" ")
for f,g in e.items():
print(f,g,end=" ")
print()
e=input("输入名字")
if e in d:
for k,v in d[e].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