# The following two statements are (more or less) equivalent: def foo(x): return x*x foo = lambda x: x*x