Easy
Sleep, Then Print
Write
async def main() that prints waiting, awaits asyncio.sleep(0.01), then prints the input line. Run it.Input
One line.
Output
Two lines.
Sample 1
Input
done
Output
waiting done
Sample 2
Input
ready
Output
waiting ready
Output appears here