You are viewing a single comment's thread. Return to all comments →
m = '\n'.join( ''.join(dict.fromkeys(group)) for group in [group for group in batched(string, k)])
return m
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 →
m = '\n'.join( ''.join(dict.fromkeys(group)) for group in [group for group in batched(string, k)])