subject

The us census bureau projects population based on the

following assumptions:

one birth every 7 seconds
one death every 13 seconds
one new immigrant every 45 seconds

write a program to display the population for each of the next five years. assume the
current population is 312032486 and one year has 365 days. hint: in python, you
can use integer division operator // to perform division. the result is an integer. for
example, 5 // 4 is 1 (not 1.25) and 10 // 4 is 2 (not 2.5).
here's what i have but i kept getting wrong what am i doing wrong?

# total population: 312032486
# total seconds/year: 365* 24 * 60 * 60 = 31536000
# births/year: 31536000/7 = 4505142.857142857
# deaths/year: 31536000/13 = 2425846.153846154
# immigrations/year: 31536000/45 = 700800.0
print((312032486) + (4505142.857142857 + 700800 - 2425846.153846154) // 1 )
print((312032486) + (2 * (4505142.857142857 + 700800 - 2425846.153846154)) // 1 )
print((312032486) + (3 * (4505142.857142857 + 700800 - 2425846.153846154)) // 1 )
print((312032486) + (4 * (4505142.857142857 + 700800 - 2425846.153846154)) // 1 )
print((312032486) + (5 * (4505142.857142857 + 700800 - 2425846.153846154)) // 1 )

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
Jenny wants to look at row 345 and compare it to row 17. what can she do if she wanted to easily adjust to see both at once?
Answers: 3
question
Computers and Technology, 23.06.2019 11:30
In cell h5 enter a formula that will calculate the percentage of attendees that went to the altamonte springs job fair in 2018.
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 23.06.2019 18:50
Ais a picture icon that is a direct link to a file or folder
Answers: 1
You know the right answer?
The us census bureau projects population based on the

following assumptions:

Questions
question
Mathematics, 24.11.2020 17:10
question
Health, 24.11.2020 17:10
question
World Languages, 24.11.2020 17:10
question
Mathematics, 24.11.2020 17:10
question
History, 24.11.2020 17:10
question
History, 24.11.2020 17:10
Questions on the website: 13722367