import asyncio from itertools import count for i in count(): print(f"Count: {i}") await asyncio.sleep(1)