Need help with code

closed account (L6vXSL3A)
Hello,

I would be really happy if someone could help me. I have code which finds words who has second letter 'o'. So, I don't know how every three words join into one.
For example.

My program finds words with second letter 'o':

gone
done
to
work
some
no

I need to get from these words:

gonedoneto worksomeno
Last edited on
It's not clear what your asking to me. Are you saying you want to find all the o's ?

You should also format your code with the <> feature for readability.
You definitely have to give us more details. :/

If you want, email me at: sparkprogrammer@gmail.com

Joe
closed account (L6vXSL3A)
Sorry for that. The thing is what I want to do for a example. If you have file (.txt) which has text in it and this text is writen in columns.

For example file with text:
I
know
nothing
about
this
event

I needthat this text looked like this:

Iknownothing aboutthisevent


How you see I need to join three words make an extra space then again join three words.
Topic archived. No new replies allowed.