Ejemplo n.º 1
0
def shift_by_bit(bitstring):
    return flip_positions(bitstring, [random_object.randrange(len(bitstring))])