Sis B.

asked • 06/28/22

Counted Loops In Python for this Scenerio

Suppose there is an island with two rabbits (male and female). Every 30 days, the population of rabbits doubles. Write a program that has the user input the number of days and then calculate the new population. Use a counted loop.

Extension:

(a) Let the user specify the initial population of the island.

(b) Let the user specify how many days it takes for the population to double.


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.