# Create an empty dictionary called `scores`

Canonical URL: <https://datadriven.io/problems/create-an-empty-dictionary-called-scores-add-the-key-mat-4a9f3744>

Domain: Python · Difficulty: medium

## Problem

Create an empty dictionary called `scores`. Add the key "math" with value 95 and "science" with value 88. Print the dictionary.

## Related

- [All practice problems](https://datadriven.io/problems)
- [Mock interview mode](https://datadriven.io/interview/create-an-empty-dictionary-called-scores-add-the-key-mat-4a9f3744)
- [Python Interview Questions](https://datadriven.io/python-interview-questions)
- [Data Engineering Interview Prep Guide](https://datadriven.io/data-engineer-interview-prep)
- [Daily Challenge](https://datadriven.io/daily)

---

Source: DataDriven (https://datadriven.io). 100% free data engineering interview prep. Live code execution against Postgres 16, Python 3.11, and Spark sandboxes. No paywall, no premium tier, no signup gate.