Mega Code Archive
Categories
/
Python
/
Function
Difference between a normal function and a lambda function
def f (x): return x**2 print f(8) g = lambda x: x**2 print g(8)