下面代码的输出结果是( )。
s="101100111001011"
print(list(filter(lambda x:x=='1',s)))
A、['1', '1', '1', '1', '1', '1', '0', '0', '0']
B、['1', '1', '1', '1', '1', '1', '1', '1', '1']
C、[1,1, 1, 1,1, 1, 1, 1, 1]
D、异常
s="101100111001011"
print(list(filter(lambda x:x=='1',s)))
A、['1', '1', '1', '1', '1', '1', '0', '0', '0']
B、['1', '1', '1', '1', '1', '1', '1', '1', '1']
C、[1,1, 1, 1,1, 1, 1, 1, 1]
D、异常