def my_func(f, arg): return f(arg) print((my_func(lambda x: 2*x*x, 5))
Impara in modo più efficiente, gratuitamente:
Introduzione a Python
7,1M studenti
Introduzione a Java
4,7M studenti
Introduzione a C
1,5M studenti
Introduzione a HTML
7,5M studenti