Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please use python. expected output is at the bottom, I keep getting 10 months instead of 14 and 753 as my total instead of 610

please use python. expected output is at the bottom, I keep getting 10 months instead of 14 and 753 as my total instead of 610

image text in transcribed

image text in transcribed

1. Project 3: Rabbits, Rabbits, Rabbits Testing Test your code with the Try It! button. (This test will automatically print the contents of rabbits.csv to the terminal. Your code should not print anything to the terminal.) Submission When you are satisfied that your program works, run the autograder with the Check It! button. You may run the autograder as many times as you like. 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions