I'm using `python 2.7` and I have this list:

```
new_out_filename = ['OFF_B8', 0, 'ON_B8', 1, 'ON_B16', 4, 'OFF_B0', 7]

```

I want to get all the combinations of the strings like `OFF_B8_vs_ON_B8`, `OFF_B8_vs_ON_B16`, `OFF_B8_vs_OFf_B0`, `ON_B8_vs_ON_16`, etc.

Is there an easy way to achieve it?

I tried something like: 

```
for k in range(0, len(new_out_filename), 2):
    combination = new_out_filename[k]+'_vs_'+new_out_filename[k+2]
    print combination

```

But my list is out of index and also I don't get the appropriate result.

Can you help me please?