Frequency Dictionary

Easy

📝 Description

Create a dictionary showing how many times each element appears in a list

Input Format

List of elements

Output Format

Dictionary with element counts

Constraints

List size ≤ 1000

🔍 Sample Input

a b a c b a
            

✅ Sample Output

{"a": 3, "b": 2, "c": 1}
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run