Now the question about China's population growth is hot, so we might as well predict, and by the way, learn practiced hand python.
Let us first look at the results of the 2010 census, which is as follows: http://www.docin.com/p-710316652.html
The age structure of the population in 2010 is as follows:
0-4 years: 69 million
5-9 years: 70 million
10-14 years: 83 million
15-19 years: 110 million
20-24 years: 125 million
25-29 years: 110 million
30-34 years: 94 million
35-39 years: 126 million
40-44 years: 116 million
45-49 years: 81 million
50-54 years: 80 million
55-59 years: 82 million
60-64 years: 78 million
65-69 years: 65 million
70-74 years: 44 million
Over 75 yrs: 10 million
To calculate population growth, let's simplify this model:
We assume that we all have children at the age of 25-29, with an average couple having 1.5 offspring, that is, 0.75 children per person. The code is as follows:
people=[ 6900.0,9100.0,10790.0,1430.0,12220.0,16380.0,15080.0,10530.0,10400.0,10660.0,10140.0,8450.0,5720.0,1300.0] I=2010 while sum (people) >1: i=i+5 for in [ 13,12,11,10,9,8,7,6,5,4,3,2,1]: people[x]=people[x-1] people[0]=people[6]/2*0.75 Print i,":", sum (people)
The results are as follows:
2015:133,185
2020:130487.5
2025:118527.5
2030:115943.75
2035:108062.5
2040:98856.875
2045:89460.3125
2050:73064.0625
2,055:59517.65625
2,060:48339.6875
2,065:47357.578125
2,070:36992.6171875
2,075:27399.0234375
2,080:22319.1210938
2,085:18127.3828125
2,090:17759.0917969
2,095:13872.2314453
2,100:10274.6337891
2,105:8369.67041016
2,110:6797.76855469
2,115:6659.65942383
2,120:5202.08679199
2,125:3852.9876709
2,130:3138.62640381
2,135:2549.16320801
2,140:2497.37228394
2,145:1950.782547
2,150:1444.87037659
2,155:1176.98490143
2,160:955.936203003
2,165:936.514606476
2,170:731.543455124
2,175:541.82639122
2,180:441.369338036
2,185:358.476076126
2,190:351.192977428
2,195:274.328795671
2,200:203.184896708
2,205:165.513501763
2,210:134.428528547
2,215:131.697366536
2,220:102.873298377
2,225:76.1943362653
2,230:62.0675631613
2,235:50.4106982052
2,240:49.3865124509
2,245:38.5774868913
2,250:28.5728760995
2,255:23.2753361855
2,260:18.904011827
2,265:18.5199421691
2,270:14.4665575842
2,275:10.7148285373
2,280:8.72825106955
2,285:7.08900443511
2,290:6.9449783134
2,295:5.42495909409
2,300:4.01806070149
2,305:3.27309415108
2,310:2.65837666317
2,315:2.60436686753
2,320:2.03435966028
2,325:1.50677276306
2,330:1.22741030666
2,335:0.996891248687
8 lines of code forecast Chinese population