import asyncio async def cor1() -> None: for i in range( 5 ): await asyncio.sleep( 0.7 ) print( "cor1" ) async def cor2() -> None: for i in range( 5 ): await asyncio.sleep( 1 ) print( "cor2" ) async def sleepy() -> None: await asyncio.gather( cor1(), cor2() ) import run_tests