Commit f41f6037 by BellCodeEditor

save project

parent 61ebc7f7
Showing with 7 additions and 4 deletions
goods = {'可口可乐':3,'旺仔牛奶':4,'辣条':5,'农夫山泉':6} # goods = {'可口可乐':3,'旺仔牛奶':4,'辣条':5,'农夫山泉':6}
goods.pop('农夫山泉') # goods.pop('农夫山泉')
print(goods) # print(goods)
\ No newline at end of file goods = {'语文':91,'数学':88,'英语':78}
for k,v in goods.items():
print(k,v)
\ 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