You are viewing a single comment's thread. Return to all comments →
Here's my solution:
def merge_the_tools(string, k): l = len(string) prev = 0 t = k while t <= l: cur = "" for i in range(prev,t): if string[i] not in cur: cur+=string[i] prev = t t += k print(cur)
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 →
Here's my solution: