@asyncio.coroutine
def binomialCoeff(n, k):
    result = 1
    for i in range(1, (k + 1)):
        result = ((result * ((n - i) + 1)) / i)
        print(('Asyncio.Task: Compute binomialCoeff (%s)' % i))
        (yield from asyncio.sleep(1))
    print(('Asyncio.Task - binomialCoeff(%s , %s) = %s' % (n, k, result)))
@asyncio.coroutine
def binomialCoeff(n, k):
    result = 1
    for i in range(1, (k + 1)):
        result = ((result * ((n - i) + 1)) / i)
        print(('Asyncio.Task: Compute binomialCoeff (%s)' % i))
        (yield from asyncio.sleep(1))
    print(('Asyncio.Task - binomialCoeff(%s , %s) = %s' % (n, k, result)))