from typing import Callable
# Control function that takes another function and executes it
control: Callable[[Callable[[], None]], None] = lambda f: f()
def say():
print("abcd")
# Calling the control function with 'say'
control(say)
'''
run:
abcd
'''