Merge the Tools!

  • + 0 comments

    Simple and straight-forward

    def merge_the_tools(string, k):
        # your code goes here
        for i in range(0, len(string), k):
            print(''.join(list(dict.fromkeys(string[i: i + k]))))