I have the following input:

```
[  0.   1.   2.   3.   4.   5.   6.   7.   8.   9.  10.  11.  12.  13.  14.
  15.  16.  17.  18.  19.]

```

Expected output: 

```
[  0.   0.   0.   0.   0.   5.   6.   7.   8.   9.  10.  11.  12.  13.  14.
   0.   0.   0.   0.   0.]

```

Current code:

```
from numpy import linspace

input_list  = linspace(0,20,20, endpoint = False)
input_list[:5] = 0
input_list[15:] = 0
print(input_list)

```

I'm wondering if there are more elegant/pythonic ways of doing it?