问题 Let's analyse this sample code where zip() is used to create different windows from a dataset and return them in loop. months = [Jan, Feb, Mar, Apr, May] for x, y in zip(months, months[1:]): print(x, y) # Output of each window will be: Jan Feb Feb Mar Mar Apr Apr May Let's suppose that now I want to calculate the respective length percentage between the months used in each window. Example in steps: When returning the first window (Jan Feb), I want to calculate the % length of Jan over the