<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def ticker(delay, to):
 """Yield numbers from 0 to `to` every `delay` seconds."""

    for i in range(to):
        yield i
        await asyncio.sleep(delay)