while using filter iam getting tuple is not calable code example
Example 1: while using filter iam getting tuple is not calable
fib = [0,1,1,2,3,5,8,13,21,34,55]
result = filter(lambda x: x % 2, fib)
Example 2: while using filter iam getting tuple is not calable
fib = [0,1,1,2,3,5,8,13,21,34,55]
result = filter(lambda x: x % 2, fib)