+ 1

Showing unexpected EOF parsing error

def my_func(f, arg): return f(arg) print((my_func(lambda x: 2*x*x, 5))

23rd Feb 2020, 1:05 PM
Sai Deepika Kathiri
Sai Deepika Kathiri - avatar
2 Respuestas
+ 3
Need another ')' at the end.
23rd Feb 2020, 1:06 PM
Russ
Russ - avatar
+ 2
Yes tq
23rd Feb 2020, 1:07 PM
Sai Deepika Kathiri
Sai Deepika Kathiri - avatar