E
Edward C. Jones
Suppose I have a piece of text that defines a function:
text ="""\
def fun(i):
return i + 2
"""
How do I turn this into a function object, f, which can be called or
passed around?
text ="""\
def fun(i):
return i + 2
"""
How do I turn this into a function object, f, which can be called or
passed around?