Your question is Letter Frequency Counting. 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.
Write a program to count how many times each letter repeats, then display each letter with its count in alphabetical order. Treat uppercase and lowercase letters as the same, and ignore non-letter characters. Implement def count_letters(text):; accept a string and return a list of [letter, count] pairs containing only letters that occur, ordered alphabetically.
def count_letters(text):