Created
August 25, 2014 18:00
-
-
Save msztolcman/c1d0ba1c01dc149985cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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