logo

Crowdly

Browser

Add to Chrome

Given the following code: inventory = {"pen": 10, "notebook": 5, "eraser": 7} i...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Given the following code:

inventory = {"pen": 10, "notebook": 5, "eraser": 7}

inventory.clear()

print(inventory)

Which dictionary operation is used, and what is the output?

More questions like this

Want instant access to all verified answers on elearn.squ.edu.om?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome