# your code goes here find_max2 = lambda a: max(filter(max(a).__ne__,a)) l = [1, 2, 3, 4, 5] print find_max2(l)
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "prog.py", line 6, in <module> File "prog.py", line 3, in <lambda> AttributeError: 'int' object has no attribute '__ne__'