Write char_count(s) returning a dict of each character's count: "aab" → {"a": 2, "b": 1}.
char_count('aab')
→ {'a': 2, 'b': 1}char_count('')
→ {}Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.