You are viewing a single comment's thread. Return to all comments →
Vanilla.
def merge_the_tools(string, k): for i in range(0, len(string), k): seen = set() out = '' for c in string[i: i + k]: if c in seen: continue seen.add(c) out += c print(out)
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 →
Vanilla.