You are viewing a single comment's thread. Return to all comments →
from collections import Counter counts = Counter(input()) counts.subtract(input()) print(sum(abs(x) for x in counts.values()))
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 →
4 clean lines - python3