-
-
Save hugo-dc/a55d542d1db43e8cb6ac to your computer and use it in GitHub Desktop.
This file contains hidden or 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 cons(x, y): | |
return lambda f: f(x, y) | |
def car(x): | |
# Fill out this function | |
pass | |
if car(cons(1, 5)) == 1: | |
print 'Solved!' | |
else: | |
print 'Keep trying...' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment