You are viewing a single comment's thread. Return to all 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))
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 →
This part of code should be used in the funtion given