def to_dotted_decimal(long_form):
    octets = []
    for i in range(4):
        octets += [str(2**8 % long_form)]
        long_form = long_form >> 8
    return '.'.join(octets[::-1])
dataset/ETHPy150Open corelan/dnshjmon/dnshjmon.py/to_dotted_decimal/swapped operands of `%`