I have a list of strings like below.

`headers = ['Header_1|C11', 'Header_1|C12', 'Header_2|C21', 'Header_2|C22', 'Header_2|C23']`

I want to create a loop which will give result like below.

`result_string = "Header_1 C11 C12 Header_2 C21 C22 C23"`

The below script prints the "child" values but not the headers. How can I extend it to get the above `result_string`?

```
childstr=''

for i in headers:
    child=i.split('|')[1]
    childstr += child + '   '

print childstr 

```