<s>[INST] This is a simplified problem, but I've been struggling with it for hours. I've tried everything, but I still can't seem to find the issue. I'm getting an error when trying to use the "Range" function with a nested list in Python.

Here's my nested list:

```
my_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
```

I want to use the "Range" function to create a range of numbers that correspond to the indices of the list items. The goal is to create a new list where each sublist only contains the corresponding index values.

Here's what I've tried:

```
index_list = [range(len(sublist)) for sublist in my_list]
print(index_list)
```

However, I'm getting the following error:

```
TypeError: 'range' object is not subscriptable
```

Can someone help me understand what's going on and provide a solution?[/INST]