Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
What do you want to do with them, if you want to return a different lambda, you could use a closure, or evaluate a string like this: eval('lambda x: return x ** {}'.format(myVar))
15th Mar 2017, 12:18 AM
thomas smith
thomas smith - avatar