fork(1) download
  1. def f(l):
  2. l1 = l
  3. l1.remove(max(l))
  4. return max(l1)
  5.  
  6. l = [1, 2, 3, 3]
  7. print f(l)
Success #stdin #stdout 0.04s 9016KB
stdin
Standard input is empty
stdout
3