human
Complete this python program:
def exec_and_timeit(func):
assistant
#Here is the Python code you requested.

    """Decorator that returns both function results and execution time.
    """
    def wrapper(*arg):
        t1 = time()
        res = func(*arg)
        t2 = time()
        ms = ((t2 - t1) * 1000.0)
        return (res, ms)
    return wrapper