python list indexing - Understanding slice notation

python slicing / python / list / slice / iterable

I need a good explanation (references are a plus) on Python's slice notation.

kmario23



Answer #1
(from:to:step)

Any of them are optional:

(:to:step)
(from::step)
(from:to)