Get four item in every two item - List get item

Hi all!! I want to get four item in every two item
for instance, in a range of 0 to 200(can be any number) at step of 5(can be any number), and get four numbers each time, but instead of getting another four number at the fourth item, I want to get it from the second item etc, so there will be two number that is the same as the previous item.
Many thanks for the help!

@andy13312496 something like that:


MMM…how do you want to deal with the remainder?


what’s in the python script ?

not familiar with python script but I’ll keep trying, thanks for the help!

1 Like