Puzzle 28: Explanation

Let’s figure out how slicing works in Python.

We'll cover the following

Try it yourself

Try executing the code below to verify the results:

Get hands-on with 1400+ tech skills courses.