Ok, I just found a function that does what I wanted to do,
I read in a file with words in the format: Jack / Jill / mine / kill / name / Bucket
Then I split it using the .split method, and as soon as I got the word into an array, I linked the words using this method:
concatenatedString = ' - '.join(myWordList) # ie: delimeter.join(list)
Thanks for your answers if you already have one!
pythonian29033 Aug 21 2018-12-12T00: 00Z
source share