第26248题 判断题
判断关于Python列表排序的sorted()函数与sort()方法的描述是否正确

在对列表进行排序时,sorted() 函数会返回一个新的排序后的列表,不修改原列表,而 sort() 方法会直接修改原列表,返回值为 None。

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析