Commit 6f3d2416 by BellCodeEditor

save project

parent 93c766bc
Showing with 4 additions and 4 deletions
goods = {'主课可乐':3,'汪仔牛奶':4,'农夫山贼':1,'腊条':3,'粑洗烤肉':2,'肉冻':4,'乐屎':5,'奥利奥':10,'巧克力':6} a = {'主课可乐':3,'汪仔牛奶':4,'农夫山贼':1,'腊条':3,'粑洗烤肉':2,'肉冻':4,'乐屎':5,'奥利奥':10,'巧克力':6}
goods.pop("农夫山贼") for k,v in a.items():
print(goods) 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