You're familiar with [list slicing](https://docs.python.org/3/library/functions.html#slice) in Python and know, for example, that:

```python
>>> ages = [12, 14, 63, 72, 55, 24]
>>> ages[2:4]
[63, 72]
>>> ages[2:]
[63, 72, 55, 24]
>>> ages[:3]
[12, 14, 63]
```

write a function `inverse_slice()` that takes three arguments: a list `items`, an integer `a` and an integer `b`. The function should return a new list with the slice specified by `items[a:b]` _excluded_. For example:

```python
>>>inverse_slice([12, 14, 63, 72, 55, 24], 2, 4)
[12, 14, 55, 24]
```

The input will always be a valid list, `a` and `b` will always be different integers equal to or greater than zero, but they _may_ be zero or be larger than the length of the list.

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Data structures

Starter code: def inverse_slice(items, a, b):
	

Solutions:
def inverse_slice(items, a, b):
	return items[:a] + items[b:]


def inverse_slice(items, a, b):
	part1 = items[:a]
	part2 = items[b:]
	return part1 + part2


def inverse_slice(items, a, b):
	return [v for (i, v) in enumerate(items) if i < a or i >= b]


inverse_slice = lambda arr, a, b: arr[:a] + arr[b:]


inverse_slice = lambda items, a, b: items[:a] + items[b:]


def inverse_slice(items, a, b):
	return list((i for i in items if i not in items[a:b]))


def inverse_slice(items, a, b):
	splice1 = items[:a]
	splice2 = items[b:]
	return splice1 + splice2


def inverse_slice(items, a, b):
	inv_list = items[0:a]
	inv_list.extend(items[b:])
	return inv_list


def inverse_slice(items, a, b):
	c = items[a:b]
	for i in c:
		items.remove(i)
	return items