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}
c={"q":79,"w":59,"e":39}
# 请将"农夫山泉"删掉,并打印出新的商品信息
t={"马":a,"同":b,"刘":c}
for i,u in t.items():
w=t[i]
print(i,end=" ")
for a,s in w.items():
print(a,s,end=" ")
\ No newline at end of file
s=input("你的名字:")
if s in t:
for i,o in t[s].items():
print(i,o)
else:
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