I have an array of booleans
[False, False, True, True, False, True, False, False, False]
and wherever there is a True value, I want to make the next n elements of the array True. If in this case I chose n=2, this array would become
[False, False, True, True, True, True, True, True, False]
Whats the most pythonic way to do this, without using for loops?