Skip to content

Instantly share code, notes, and snippets.

@hugo-dc
Forked from jdavis/puzzle.py
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugo-dc/a55d542d1db43e8cb6ac to your computer and use it in GitHub Desktop.
Save hugo-dc/a55d542d1db43e8cb6ac to your computer and use it in GitHub Desktop.
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