is there a way to split a string by every nth separator in python?,"print(['-'.join(words[i:i + span]) for i in range(0, len(words), span)])"