info = {1:'one', 1.0:'frist'}
info
字典info是什么值,大家可以在评论区写出结果。...': '$113.60', 'BTC': '$ 4031.6'}
XRP price: $0.36557
删除后结果: {'ETH': '$113.60', 'BTC': '$ 4031.6'}
EOS...price: $2
删除不存在key:
#数字货币价格:瑞波币,以太坊,比特币
BiPrice = {'XRP':'$0.36557', 'ETH':'$113.60', 'BTC':'$ 4031.6...': '$113.60', 'BTC': '$ 4031.6'}
popitem: ('BTC', '$ 4031.6')
删除后结果: {'XRP': '$0.36557', 'ETH': '$113.60...()
print('clear后结果:', BiPrice)
运行结果:
{'XRP': '$0.36557', 'ETH': '$113.60', 'BTC': '$ 4031.6'}
clear后结果