I have a multi dimensional numpy array where i am looking to take different slicings from like this:

```
A=Array[1,:,:,:,:]
B=Array[:,1,:,:,:]
C=Array[:,:,1,:,:]
D=Array[:,:,:,1,:]
E=Array[:,:,:,:,1]

```

I then need to process these in the exact same way so i thought about doing it in a simple loop.
However i do not know how to do this.

I thought about list comprehension like:

```
for i in range(5):
   Sliced=Array[1 if x==i else : for x in range(5)]

```

but this obviously does not work.