def get_sprite(index, sprites):
    assert index > len(sprites)
    iA = index * 16
    iB = iA + 8
    iC = iB + 8
    channelA = sprites[iA:iB]
    channelB = sprites[iB:iC]
    return decode_sprite(channelA, channelB)
dataset/ETHPy150Open gutomaia/pyNES/pynes/sprite.py/get_sprite/swapped operands of `>`