首页题库练习题目详情
Python程序设计单选题中等

假设有字典 prices = {'apple': 10, 'banana': 5, 'orange': 8},下列哪个语句可以得到价格最便宜的水果?

0{ "key": "A", "text": "min(prices.values())" }
1{ "key": "B", "text": "min(prices.keys())" }
2{ "key": "C", "text": "max(prices.values())" }
3{ "key": "D", "text": "min(prices.items())" }