:::success # Async example code [TOC] ::: ```python= import asyncio import time def reset(): now = time.time() return now async def hello(num): print(f'Test-1:{num}') await asyncio.sleep(2) print(f'Test-2:{num}') if __name__ == '__main__': start = reset() tasks = [hello(i) for i in range(5)] asyncio.run(asyncio.wait(tasks)) end=reset() print(f'TIME:{end - start}') ```