Rainbow Deals - hours only!Up to 80% off on all courses and bundles.-Close
Quiz
8. Exercise 8

Instruction

Great!

Exercise

Now that we have a vector of the quantity of goods demanded per city and a vector of country names, we can calculate the total quantity of goods that need to be transported to each country.

Group quantity_without_PC using the countries_without_PC vector. Then, you should compute the total sum per country to get the desired result.