Your question is Character Frequency Counter. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Given a string s, return a dictionary where each key is a character from the string and each value is the number of times that character appears. Count all characters exactly as they appear, including uppercase and lowercase letters, digits, punctuation, special characters, and whitespace.
def char_frequency(s):