Merge the Tools!

  • + 0 comments
    def merge_the_tools(string, k):
        # your code goes here
        n = len(string)
        for i in range(0,n,k):
            word = ''
            for j in range(k):
                if string[i+j] not in word:
                    word+=string[i+j]
            print(word)