I've 2 list

```
a = [1,9] # signifies the start point and end point, ie numbers 1,2,3,4,5,6,7,8,9
b = [4,23] # same for this.

```

Now I need to find whether the numbers from `a` intersect with numbers from `b`.

I can do it via making a list of numbers from `a` and `b`,and then intersecting the 2 lists, but I'm looking for some more pythonic solution.

Is there anything better solution.

My o/p should be `4,5,6,7,8,9`