下列代码的运行结果是?( )
def jishu(n): return n % 2 == 0 newlist = filter(jishu, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) n=list(newlist) print(n)
[1,2,3,4,5,6,7,8,9,10]
[10,9,8,7,6,5,4,3,2,1]
[2,4,6,8,10]
[1, 3, 5, 7, 9]