Question: Python 3.6 11. (5 pts) A sequence of numbers is given by 3, 10,30,300, 9000, 2700000,... where the first two elements are 3 and 10,
11. (5 pts) A sequence of numbers is given by 3, 10,30,300, 9000, 2700000,... where the first two elements are 3 and 10, and every element after is the product of the previous two. Write a Python whose input is a positive integer n, and whose output is the nth number in the sequence. For example, ff (2) should have the value 10, and ff (4) should have the value 300
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
