You are viewing a single comment's thread. Return to all comments →
Could someone explain "list(combinations(['a']*b[j],2))" part please? I understand that we are using combinations, but the [''a]*b[j] is stumping me.
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Anagrams
You are viewing a single comment's thread. Return to all comments →
Could someone explain "list(combinations(['a']*b[j],2))" part please? I understand that we are using combinations, but the [''a]*b[j] is stumping me.