📅  最后修改于: 2022-03-11 14:46:26.105000             🧑  作者: Mango
def merge_the_tools(string, k):
l=[]
m=0
for i in range(len(string)//k):
l.append(string[m:m+k])
m+=k
for v in l:
print(''.join(list(dict.fromkeys(list(v)).keys())))