Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Description (please you python, thank you) project questions 1. Rabbits, Rabbits, Rabbits - Description Suppose that a scientist is doing some important research work that
Description (please you python, thank you)
project questions
1. Rabbits, Rabbits, Rabbits - Description Suppose that a scientist is doing some important research work that requires her to use rabbits in her experiments. She always starts out with one adult male rabbit and one adult female rabbit. At the end of each month, a pair of adult rabbits produces one pair of offspring, a male and a female. These new offspring will take one month to mature and become adults. To illustrate this, consider the first two months. At the beginning of month one, the scientist just has the original one pair of adult rabbits. A table for month one will look something like: At the end of month one this pair of adults produces one pair of offspring. Thus, at the beginning of month two the table will look like this: At the end of month two the adults have another pair of baby rabbits. The first pair of babies, born at the end of last month are not old enough to have babies yet, but. we will categorize them as adults. So, at the beginning of month three the table looks like this: The scientist has 500 cages in which to hold her rabbits. Each cage holds one pair of rabbits. Assuming that no rabbits ever die, when will she run out of cages? 3. Print a table that contains the following information for each month. - The number of months that have passed. - The number adult rabbit pairs (those over 1 month old). - The number of baby rabbits pairs produced this month. - The total number of rabbit pairs in the lab. 4. Calculate how many months it will take until the number of rabbits exceeds the number of available cages. 5. Stop printing when you run out of cages. 6. Print a message giving how many months it will take to run out of cages The output file should look like the following. Comments in the file begin with and must appear as shown: \# Table of rabbit pairs Month, Adults, Babies, Total 1,1,,1 2,1,1,2 3,2,1,3 4,3,2,5 5,5,3,8 6,8,5,13 7,13,8,21 8,21,13,34 9,34,21,55 16,55,34,89 11,89,55,144 12,144,89,233 13,233,144,377 14,377,233,610 \# Cages wil1 run out in month 14 In 1-3 sentences, what is this program supposed to do? What are the inputs and outputs to the program? For each input or output, specify its type and give a plausible example value that the input or output could take. Consider formatting your output with markdown tables for clarity. Here is an example table: Which concepts from class will be useful as you work on this project? How do you anticipate using these concepts? Consider using markdown formatting. An example follows: \# 'print()' function The 'print()' function will be useful for writing text to the termi Write a pseudocode outline of your program. Demonstrate that you have decomposed the problem into smaller, more manageable pieces. Write three specific, verifiable things that must be true of my program if it is working correctly. Consider formatting with markdown. An example followsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started