Python Tallying and Grouping | CodeSignal Learn