New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Showing unexpected EOF parsing error
def my_func(f, arg): return f(arg) print((my_func(lambda x: 2*x*x, 5))
2 Answers
+ 3
Need another ')' at the end.
+ 2
Yes tq
def my_func(f, arg): return f(arg) print((my_func(lambda x: 2*x*x, 5))