第27092题 单选题
下列关于Python中map高阶函数的代码运行结果与特性描述,正确的是?

已知如下两段Python代码:

# 代码1
nums = [1, 2, 3]
res = map(lambda x: x + 1, nums)
print(res)
# 代码2
nums = [1, 2, 3]
res = list(map(lambda x: x + 1, nums))
print(res)

请根据上述代码选择正确的说法:

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