1 Create dictionary with a grocery list. Assign the dictionary to the variable grocery_list
2 Print out the contents of grocery_list, one item at a time, in the order: name, cost, quantity.
3 Update the quantity to 3
4 Print out the contents of grocery_list, one item at a time, in the order: name, cost, quantity, after the quantity update.
provided:
# Create dictionary with a grocery list. Assign the dictionary to the variable grocery_list
# Print out the contents of grocery_list
# Update the quantity to 3
# Print out the contents of grocery_list after updating the quantity
+2
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Grocery_List 1 Create dictionary with a grocery list. Assign the dictionary to the variable grocery_list 2 Print out the contents of ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Home » Computers and Technology » Grocery_List 1 Create dictionary with a grocery list. Assign the dictionary to the variable grocery_list 2 Print out the contents of grocery_list, one item at a time, in the order: name, cost, quantity.