import time


def compute(n=26):
    """ Computes 2 to the power of n and returns elapsed time"""
    start = time.time()
    res = 0
    for i in range(2**n):
        res += 1
    end = time.time()
    dt = end - start
    print(f'Result {res} in {dt} seconds!')
    return dt