arr[from :to :step] 형태로 사용

from~to까지(to는 포함 x) step씩 건너뛰며 선택하라는 뜻

from 생략하면 처음부터

image.png

음수는 뒤에서부터, step 생략하면 기본값 1

image.png