fork download
  1. def add(x, y, f):
  2. return f(x) + f(y)
  3.  
  4. print(add(-5, 6, abs))
  5.  
  6. # your code goes here
Success #stdin #stdout 0.09s 14104KB
stdin
Standard input is empty
stdout
11