Study the Python code and click the line number(s) that contain the bug.
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