async def some_function(arg1,arg2):
... do something
async def main():
tasks = []
for i in range(0,10):
task = asyncio.ensure_future(some_function(rand(), rand()))
tasks.append(task)
results = await asyncio.gather(*tasks)
$ echo '#include <stdio.h>' > test.c
$ gcc -E test.c|wc -l
725