Introduction
Slicing lets you take a part of a list or array to work with just that piece. It helps you focus on smaller parts without changing the original whole.
You want to get the first few items from a list, like the first 3 names in a list of friends.
You need to skip some items at the start and work with the rest, like ignoring the first 2 days of data.
You want to get a middle section of a list, like days 3 to 5 from a week's data.
You want to copy part of a list to a new list to change it without touching the original.
You want to check or print only a part of a list for easier reading.