>>> def the_answer(): ... return 42 ... >>> the_answer() 42 >>> the_answer
>>> f = the_answer >>> f() 42