CS 206 Data Structures
Spring 2010
Assignment#1 (Python Refresher)
Due on Tuesday, January 26, 2009.
Write Python programs to make the following population projections:
1. What will the US population be in the year 2050?
2. In which year will the US population exceed 1/2 billion?
3. In which year will the US population double?
You will write three seperate programs/functions to do each of the above. You program(s) should input the current population, growth rate, and the current year (if needed), and any other input required to answer the questions.
You can use the figure 308,527,921 as the population o fthe United States on january 21, 2010 (from: http://www.census.gov/population/www/popclockus.html). Use a growth rate of 0.915%
Additionally, show the output of your program if the growth rate changed to 91) 0.8% and (2) 1.0%.