Question: Task Standard input consists of two integers, one per line: the first is an initial rabbit population, and the second is a number of years.
Task
Standard input consists of two integers, one per line: the first is an initial rabbit population, and the second is a number of years.
Write a Python script named rabbitseverywhere.py which outputs the final rabbit population after the indicated number of years.
Example standard input
Example standard output
Explanation
Initially there are
rabbits.
After
years there are
rabbits.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
