A python question

Hello guys,

Hope you are fine!

Can you please help me to understand the logic behind this piece of code

my_list = [0, 1, 2, 3, 4]

Output → 0,3

slicing the array from the frist element till the last element with step three

1 Like

Thank you so much! I really appreciate it!