def call_with_one(fun): fun(1) def foo(x): print(x) call_with_one(foo)