Easy
Before and After await
Write
async def main(a, b) that prints a, awaits asyncio.sleep(0.001), then prints b. Read two words and run it.Input
Two lines.
Output
Two lines.
Sample 1
Input
first second
Output
first second
Sample 2
Input
ready go
Output
ready go
Output appears here