Home / Python Tips Generated By ChatGPT / Lambda Functions for Short Anonymous Functions in Python Define small anonymous functions with lambda. Source Code square = lambda x: x**2 print(square(5))