以下Python代码运行后的输出结果是?
from functools import reduce
nums = [1, 2, 3, 4]
result1 = map(lambda x: x * 2, nums)
result2 = filter(lambda x: x % 3 == 0, list(result1))
result3 = reduce(lambda a, b: a + b, list(result2))
print(result3)
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析