def report_elapsed(elapsed):
    global elapsed_num, elapsed_total
    elapsed_num += 1
    elapsed_total += elapsed
    print (elapsed_total / elapsed_num) % "Elapsed Average: %f"
    print "Elapsed Last: %f" % (elapsed)
dataset/ETHPy150Open weblabdeusto/weblabdeusto/tools/ImgTester/imgtester.py/report_elapsed/swapped operands of `%`