import asyncio


def run(tasks, *, loop=None):
    """Run Asynchronous Tasks"""
    if loop is None:
        loop = asyncio.get_event_loop()
    # waiting for all tasks
    return loop.run_until_complete(asyncio.wait(tasks))