Merge the Tools!

  • + 0 comments

    This part of code should be used in the funtion given

    for i in range(0, len(string), k):
        lis=[]
        for m in range(i, i+k):
            if string[m] not in lis:
                lis.append(string[m])
        print("".join(lis))