# Collection of code snippets by Arne Vajhøj 
# (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import time

def add5(n):
    s = 0
    for _ in range(n):
        s += 5
    return s

t1 = time.time()
res = add5(120000000)
t2 = time.time()
print('%d in %.2f secs' % (res, t2-t1))
