Skip to content

Instantly share code, notes, and snippets.

@msztolcman
Created August 25, 2014 18:00
Show Gist options
  • Save msztolcman/c1d0ba1c01dc149985cf to your computer and use it in GitHub Desktop.
Save msztolcman/c1d0ba1c01dc149985cf to your computer and use it in GitHub Desktop.
def f1():
return 1
l1 = lambda: 1
print('f1() == l1():', f1() == l1())
def f2(arg1):
return arg1
l2 = lambda arg1: arg1
print('f2("a") == l2("a"):', f2("a") == l2("a"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment