Slicing a List

What is a slice?

A slice is part of a list that begins with the item at the first index specified and stops with the item before the last index specified. You can construct a slice that returns any part of a list.

How do you make a slice from the beginning of a list?

Omit the first index, and the slice starts with the first item in the list.

How do you make a slice at the end of a list?

Omit the second index, and the slice foes to the end of the list.