import timeit


def measure_time(func):
    """
    Decorator that measures time
    """
    def timer(*args, **kwargs):
        start = timeit.default_timer()
        ret = func(*args, **kwargs)
        end = timeit.default_timer()
        print("Time[{}] : {}".format(func.__name__, end-start))
        return ret
    return timer