运行如下Python代码,最终的输出结果是?
def func(x):
return x % 2 == 0 and x > 3
nums = [1, 2, 3, 4, 5, 6, 7, 8]
res = list(filter(func, nums))
print(res)
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析