def fun1():
    print('fun1')

def fun2():
    print('fun2')

def fun3():
    print('fun3')
switches = [True, False, True]
func_list = [fun1, fun2, fun3]
for s, f in zip(switches, func_list):
    if s:
        f()
Хранение функций в словаре [Python]