Slice list by a step

Hello friend
I want to slice a list by step 2. But it is like bellow

@f.saeedian

you can use python

# 🎯 slice it twice
OUT = [IN[0][i:i+2] for i in range(0, len(IN[0]), 2)]

1 Like

Or you could use List.Chop for that :slight_smile:

3 Likes

Yes its true :ok_hand: