给一段代码defis_odd(n):returnn%2==0newlist=filter(is_odd,[1,2,3,4,5,6,7,8,9,10])foriteminnewlist:print(item)其输出结果是? A: [2,4,6,8,10] B: [1,3,5,7,10] C: [1,3,5,7,9] D: [1,3,5,6,9]
给一段代码defis_odd(n):returnn%2==0newlist=filter(is_odd,[1,2,3,4,5,6,7,8,9,10])foriteminnewlist:print(item)其输出结果是? A: [2,4,6,8,10] B: [1,3,5,7,10] C: [1,3,5,7,9] D: [1,3,5,6,9]
1