Modify list value every x values

Hi,

I am reaching for your help again regarding list management.

Lets say I have a list of integers, and I want the element 10 to be affected a specific value, then the element 20 to be affected the same value again etc.

This needs to be done parametrically if possible, basically having a slider deciding every how many elements I want to overwrite the value by a given X value.

Hopefully this is clear enoughj, thanks a lot as usual :white_check_mark:

Thanks a lot Joseph :handshake: I really appreciate