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, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Which of the following includes the three primary network access technologies? dsl, cable modem, broadband lan, wan, man voip, uc, iptv tcp/ip, ftp, dhcp
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
Read “suburban homes construction project” at the end of chapters 8 and 9 (in the textbook) and then develop a wbs (work breakdown structure) in microsoft excel or in microsoft word (using tables)
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Assume a class window with accessor method getwidth that accepts no parameters and returns an integer. assume further an array of 3 window elements named winarr, has been declared and initialized. write a sequence of statements that prints out the width of the widest window in the array.
Answers: 2
You know the right answer?
The us census bureau projects population based on the

following assumptions:

Questions
question
Biology, 21.07.2019 04:23
question
Mathematics, 21.07.2019 04:30
Questions on the website: 13722367