fork download
  1. # your code goes here
  2.  
  3. # your code goes here
  4.  
  5. find_max2 = lambda a: max(filter(max(a).__ne__,a))
  6.  
  7. l = [1, 2, 3, 4, 5]
  8. print( find_max2(l) )
Success #stdin #stdout 0.02s 9936KB
stdin
Standard input is empty
stdout
4