def sn2iata(sn):
    global table
    iata = ''
    for v in sn:
        if table in v:
            i = table.index(v)
            i = (5 - i % 7) * 5 + i / 7 + 10
            iata += table[i]
        else:
            iata += v
    return iata
dataset/ETHPy150Open lennylxx/ipv6-hosts/tools/conv.py/sn2iata/swapped operands of `in`