fork download
  1. from __future__ import print_function
  2.  
  3. f = (lambda x, y:
  4. x + y)
  5.  
  6. g = (lambda x, y: (lambda _:
  7. x + y)
  8. (print("Adding %s and %s!" % (x,y))))
  9.  
  10. print(f(1,2))
  11.  
  12. print(g(4,5))
Success #stdin #stdout 0.01s 7896KB
stdin
Standard input is empty
stdout
3
Adding 4 and 5!
9