Post

@PythonPr A) [25, 10]
Negative step with skip!
› [::−2] = start:stop:step
› step=-2 means: go backwards, take every 2nd element
› Start at end: 25
› Jump back 2 positions: 10
› Result: [25, 10]
For beginners: Negative step goes right-to-left
English

@PythonPr A) [25,10]
Because you're just reversing the list and skipping the even indexed element if you're looking from left to right, at the same time.
English

















