import time


def getTime(start, digits=2):
    """Get and return the time elapsed since start to now (in seconds, to digits decimal places)."""
    end = time.time()
    f = "{:." + str(digits) + "f}"
    return f.format(end-start)