@@ -0,0 +1,638 @@
+import asyncio%0Aimport aiohttp%0Aimport time%0A%0AURLS = %5B%0A    'http://127.0.0.1:8000',%0A    'http://127.0.0.1:8000',%0A    'http://127.0.0.1:8000',%0A%5D%0A%0A@asyncio.coroutine%0Adef request_greetings():%0A    response_tasks = yield from asyncio.wait(%5Baiohttp.get(url) for url in URLS%5D)%0A    text_tasks = yield from asyncio.wait(%0A        %5Btask.result().text() for task in response_tasks%5B0%5D%5D%0A    )%0A    texts = %5Btask.result() for task in text_tasks%5B0%5D%5D%0A    return '%5Cn'.join(texts)%0A%0A%0Aloop = asyncio.get_event_loop()%0At1 = time.time()%0Agreetings = loop.run_until_complete(request_greetings())%0Aprint(time.time() - t1, 'seconds passed')%0Aprint(greetings)%0Aloop.close()%0A

Add ex3.2: multiple aiohttp requests