@asyncio.coroutine
def fibonacci(number):
    (a, b) = (0, 1)
    for i in range(number):
        print(('Asyncio.Task: Compute fibonacci (%s)' % i))
        (yield from asyncio.sleep(1))
        (a, b) = (b, (a + b))
    print(('Asyncio.Task - fibonacci(%s) = %s' % (number, a)))
@asyncio.coroutine
def fibonacci(number):
    (a, b) = (0, 1)
    for i in range(number):
        print(('Asyncio.Task: Compute fibonacci (%s)' % i))
        (yield from asyncio.sleep(1))
        (a, b) = (b, (a + b))
    print(('Asyncio.Task - fibonacci(%s) = %s' % (number, a)))