SyntaxFix
Write A Post
Hire A Developer
Questions
Slice notation a[start_index:end_index:step]
a[start_index:end_index:step]
return a[::2]
where start_index defaults to 0 and end_index defaults to the len(a).
start_index
0
end_index
len(a)