下面代码的输出结果是( )
Def f2(a):
if a > 33:
return True
Li = [11, 22, 33, 44, 55]
Res = filter(f2, li)
Print(list(res))
A.[44,55] B.[11,33,55] C.[22,33,44] D.[33,44,55]正确答案A
下面代码的输出结果是( )
Def f2(a):
if a > 33:
return True
Li = [11, 22, 33, 44, 55]
Res = filter(f2, li)
Print(list(res))
A.[44,55] B.[11,33,55] C.[22,33,44] D.[33,44,55]正确答案A