Given raw_tags = ['py', 'sql', 'py', 'go', 'sql', 'py'], build a dict called counts where each key i
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
Problem
Given raw_tags = ['py', 'sql', 'py', 'go', 'sql', 'py'], build a dict called counts where each key is a tag and each value is how many times it appeared. Print counts.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.