def bigger(bar, baz): if bar > baz: bigger = True else: bigger = False return bigger
def bigger(bar, baz): return bar > baz
Used when an if statement can be replaced with bool(test).
bool(test)