Commit 1b986697 by BellCodeEditor

save project

parent 442d5bed
Showing with 8 additions and 8 deletions
cr = {'甲骨文':0,'白学':3.1415926535897932384626433837,'鸟语':59,} cr = {'甲骨文':0,'白学':3.14159265358979323846264338279,'鸟语':59,}
for z in cr: for a,b in cr.items():
print(z) print(a,b)
\ No newline at end of file \ No newline at end of file
goods = {'可口可乐':2.5,'旺仔牛奶':4,'农夫山泉':1,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':2.5,'奥利奥':10,'巧克力':6} goods = {'可口可乐':2.5,'旺仔牛奶':4,'农夫山泉':1,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':2.5,'奥利奥':10,'巧克力':6}
goods.pop("") goods.pop("奥利奥")
goods for a,b in goods.items():
print(goods) print(a,b)
\ No newline at end of file \ 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