I have a list of items, say x = ['Zwi', 'sche', 'n', 'ab', 'schlus', 'ses']
I am trying to write a loop to add hyphen between one word at a time and the result should be something like below:
Zwi-schenabschlusses
Zwische-nabschlusses
Zwischen-abschlusses
Zwischenab-schlusses
Zwischenabschlus-ses
Can anyone help me?