please guide what is the meaning of star in the code
range(*window_range)
thank you
I do not know at all about this code
please guide what is the meaning of star in the code
range(*window_range)
thank you
I do not know at all about this code
A star in the context of a function call like this will unpack the iterable after the star and give it to the function as separate positional arguments.
So in this case if window_range wera a tuple giving the window range, eg (0, 10)
this would call range(0,10)
See here for more detail.