Halloween · difficulty 1 of 3
Trick-or-treat tally 🍬
Tip out the bag: count each sweet, list them from most to fewest (ties in alphabetical order), and print the total haul.
Write it in the browser and press run. Real Python, checked against the expected output, no account needed.
Skills: loops, dicts, strings