Alice and Bob sit across each other, ready for their game of coins. Who will emerge victorious?
In this Pydon't we conclude the slicing trilogy and
take a look at the inner workings of Python slicing,
from the built-in slice
type to the dunder method
__getitem__
and its siblings.
In this Pydon't we cover advanced topics related to sequence slicing, like (negative) steps, more idiomatic sequence slicing, slice assignment, and slice deletion.
This is an algorithmic puzzle where you just have to turn some coins.