You are viewing a single comment's thread. Return to all comments →
sorted() with reverse=True is reversing list completely! So you letters with same freq are on inverted order - changing freq to negative do the trick
Seems like cookies are disabled on this browser, please enable them to open this website
Company Logo
You are viewing a single comment's thread. Return to all comments →
sorted() with reverse=True is reversing list completely! So you letters with same freq are on inverted order - changing freq to negative do the trick