def percent(value, total):
    if not (value and total):
        return 0
    return int(total * 100 / value)
dataset/ETHPy150Open dropbox/changes/changes/reports/build.py/percent/swapped operands of `/`