logo

Crowdly

In your workspace, you have 3 corresponding vectors: country = a list ...

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

In your workspace, you have 3 corresponding vectors:

  • country = a list of countries (e.g. ["Australia", "Malaysia", "Vietnam", "Malaysia", "China", "Australia"....]) in which country names can be repeated, and are not arranged in any order. 
  • year = a list of years (e.g. [1901, 1975, 1990, 2001, 1995, 1975, ....]), in which each combination of country and year appears only once.
  • population = a list of populations for the corresponding country in the corresponding year (i.e. for the given examples, the first entry of this vector would give Australia's population in 1901)

Write a line of code that will create a variable called "answer", and assign it the population of France in 1972

More questions like this

Want instant access to all verified answers on learning.monash.edu?

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