第14922题 单选题
Python对元组列表实现第一元素升序第二元素降序排序,应填入哪个代码?

在Python代码中,需要对元组列表lst排序,要求第一个元素按升序,第二个元素按降序,在横线处填上合适代码:

lst = [(16,178),(16,182),(17,172),(15,191),(16,175)]
lst.sort(____________________)
print(lst)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析