Easy
gather() Two Coroutines
Write
async def greet(name) returning Hi NAME. Read two names and use asyncio.gather to run both; print the returned list.Input
Two lines.
Output
A Python list.
Sample 1
Input
Mim Rafi
Output
['Hi Mim', 'Hi Rafi']
Sample 2
Input
A B
Output
['Hi A', 'Hi B']
Output appears here