You are viewing a single comment's thread. Return to all comments →
def merge_the_tools(string, k): for i in range(0, len(string), k): print("".join(dict.fromkeys(string[i:i + k]))) if __name__ == '__main__': string, k = input(), int(input()) merge_the_tools(string, k)
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 →