import asyncio
import aiohttp

async def main():
  async with aiohttp.ClientSession() as session:
    # タスクを登録するだけで、まだ待たない
    task1 = asyncio.create_task(fetch(session, urls[0]))
    task2 = asyncio.create_task(fetch(session, urls[1]))
    task3 = asyncio.create_task(fetch(session, urls[2]))

    # タスクが動いている間に別の処理を挟める
    print("リクエスト送信中...")

    # ここで初めて結果を待つ
    r1 = await task1
    r2 = await task2
    r3 = await task3
    print(r1, r2, r3)
