def add(x,y,f): return f(x)+f(y)print(add(-5,6,abs))
Standard input is empty
11
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!