Character Frequency Analysis
Input: `s` (str). Return: Dict mapping character to its frequency. Used in cryptography.
Example
Input: 'aab'
Output: {'a': 2, 'b': 1}
Need a hint?
- Initialize empty dict, loop string, increment counts
Run your code to see output