python riddle
def fn():
x = "Who's on first"
def f(y):
return x+y
x = "What's on second"
return f("?")
print fn()
(ok, so this is more of a mnemonic to help me remember how python works)
[More programming riddles]
this is probably more completely written as:
def fn(): x = "Who's on first" def f(y): return x+y print f("?") x = "What's on second" return f("?") print fn()