You are viewing a single comment's thread. Return to all comments →
def merge_the_tools(string, k): split_into = len(string) // k res = [] for i in range(0, len(string), k): res.append(string[i : i + k]) for word in res: letters = [] for letter in word: letters.append(letter) print(''.join(sorted(set(letters), key=letters.index)))
Seems like cookies are disabled on this browser, please enable them to open this website
Merge the Tools!
You are viewing a single comment's thread. Return to all comments →