← All tasks
🔍
Intermediate

Missing Key Crash

⏱ 6 min ⭐ 150 XP 🔁 3 attempts allowed

What you'll do

Study the Python code and click the line number(s) that contain the bug.

Scenario

The script should print 0 for a product that is not in the price list instead of crashing with a KeyError.

Ready to try it?

Create a free account and subscribe to take "Missing Key Crash". Earn 150 XP and track your internship progress.

Already have an account? Sign in