📝 **Question:** What error will `d["x"]` cause if the dictionary `d` does not contain the key `"x"`?
📋 Choose from options.
💡 **Hint:** for lists there is a missing index → `IndexError`. For the dictionary - another error with a similar word.
📝 **Question:** What error will `d["x"]` cause if the dictionary `d` does not contain the key `"x"`?
📋 Choose from options.
💡 **Hint:** for lists there is a missing index → `IndexError`. For the dictionary - another error with a similar word.
📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet