Question: Use your text editor to create a . py file containing a Python program that simulates the zombie epidemic through the year 2 0 2

Use your text editor to create a .py file containing a Python program that simulates the zombie epidemic through the year 2029. Each line of your program's output should show the year, the number of zombies in that year, and the number of humans remaining in that year. Separate these three values with commas on each line.
For example, the first 4 lines that your program prints should look exactly like this:
2001,10,535753
2002,53584.3,482178.7
2003,96443.74,439319.26
2004,130731.29200000002,405031.708
The last line that your program prints should look like this:
2029,267363.3611636978,268399.6388363022
Notice that there are no extra spaces in between the numbers on each line. They are separated only by commas.
Your program should print out one line for each year from 2001 through 2029. Therefore, it should print out 29 lines... no more, no less.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!