Using Python 3.X, I have a list of numbers, with a maximum index of `2880`.
I want to choose an arbitrary index (eg `1500`) and define a "radius" around that index of say, 5. So, I generate a range of indicies: `1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505`.

To do this, I'd use the following:

```
min = 0
max = 2880
center = 1500
radius = 5
r = range(center - radius, center + radius + 1)
>> 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505

```

The problem is, what if I define the center as 2878? I do not want `2873, 2874, 2875, 2876, 2877, 2878, 2879, 2880,` **2881, 2882**...

I need `2873, 2874, 2875, 2876, 2877, 2878, 2879, 2880, 0, 1, 2`

Is there a built in function in Python 3, which allows accepts a center, radius and array to do this? Something like:

```
def GetBounds(listOfIntegers, centerIndex, radius):
    ...

```