Skip to content

Instantly share code, notes, and snippets.

@berceanu
Created November 23, 2016 15:44
Show Gist options
  • Save berceanu/ce35d3dcee88b0cc6bf54fa7d11271bf to your computer and use it in GitHub Desktop.
Save berceanu/ce35d3dcee88b0cc6bf54fa7d11271bf to your computer and use it in GitHub Desktop.
Convoluted hi in Python
y = "y"
h = y
def y(y):
h = "h"
if y == h:
return y + "i"
y = lambda y: y(h)
return lambda h: y(h)
y = y(y)(y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment