Commit ac2b7faa by BellCodeEditor

save project

parent 1ec934f4
Showing with 7 additions and 6 deletions
...@@ -3,8 +3,9 @@ b={"q":89,"w":69,"e":49} ...@@ -3,8 +3,9 @@ b={"q":89,"w":69,"e":49}
c={"q":79,"w":59,"e":39} c={"q":79,"w":59,"e":39}
# 请将"农夫山泉"删掉,并打印出新的商品信息 # 请将"农夫山泉"删掉,并打印出新的商品信息
t={"马":a,"同":b,"刘":c} t={"马":a,"同":b,"刘":c}
for i,u in t.items(): s=input("你的名字:")
w=t[i] if s in t:
print(i,end=" ") for i,o in t[s].items():
for a,s in w.items(): print(i,o)
print(a,s,end=" ") else:
\ No newline at end of file print("不在。")
\ 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