#!/usr/bin/python from math import * def run_with_5(the_function): the_function(5) def print_thrice(param): print param,param,param run_with_5(print_thrice) def add6(p): return p+6; def get_add6(): return add6 print "This should be 9: ", get_add6()(3) fun_list = [sin, cos, add6, lambda x : x-10] for item in fun_list: print item(17)