how to coroutine python code example Example: coroutines in python def randn(): time.sleep(3) return randint(1, 10)