Commit 192ae6f1 by BellCodeEditor

save project

parent f0b7d3b7
Showing with 10 additions and 0 deletions
s1={"yu":10,"shu":1,"ying":-1}
s2={"yu":20,"shu":0,"ying":-19}
s3={"yu":100,"shu":100,"ying":100}
s={"wu":s1,"n":s2,"叶文彬":s3}
while True:
name=input("name")
if name in s:
a=s[name]
for k,v in a.items():
print(k,v)
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