You are viewing a single comment's thread. Return to all comments →
Obviously it is. What I meant is
print(sum(abs(x) for x in counts.values()))
and this
print sum( ((a-b).values()) + ((b-a).values()) )
without for. Thanks
Seems like cookies are disabled on this browser, please enable them to open this website
Making Anagrams
You are viewing a single comment's thread. Return to all comments →
Obviously it is. What I meant is
and this
without for. Thanks