Question: This is code I wrote, however it is wrong. Question 5. Write a function fertility_over_time that takes the Alpha-3 code of a country and a
This is code I wrote, however it is wrong.
Question 5. Write a function fertility_over_time that takes the Alpha-3 code of a country and a start year. It returns a twocolumn table with labels Year and Children per woman that can be used to generate a line chart of the country's fertility rate each year, starting at the year. The plot should include the year and all later years that appear in the fertility table. Then, in the next cell, call your fertility_over_time function on the Alpha-3 code for Bangladesh and the year 1970 in order to plot how Bangladesh's fertility rate has changed since 1970. Note that the function fertility_over_time should not return the plot itself. The expression that draws the line plot is provided for you; please don't change itStep by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
