subject

List = 7 # these many modified fibonacci numbers. def fibonacci_gt(n, t1, t2): if n< 0: print("incorrect input") elif n == 0: return t1 elif n == 1: return t2 else: return fibonacci_gt(n-1,t1,t2)**2 + fibonacci_gt(n-2,t1,t2) def generate_numbers(a, b): numbers = [] for i in range(list): numbers. append(fibonacci_gt(i, a,b)) numbers = round(numbers, 3) return numbers generate_numbers(0, 1)what is the output?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:40
Consider the simple 3-station assembly line illustrated below, where the 2 machines at station 1 are parallel, i.e., the product only needs to go through one of the 2 machines before proceeding to station 2.what is the throughput time of this process?
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
Write a method named addall that could be placed inside the hashintset class. this method accepts another hashintset as a parameter and adds all elements from that set into the current set, if they are not already present. for example, if a set s1 contains [1, 2, 3] and another set s2 contains [1, 7, 3, 9], the call of s1.addall(s2); would change s1 to store [1, 2, 3, 7, 9] in some order. you are allowed to call methods on your set and/or the other set. do not modify the set passed in. this method should run in o(n) time where n is the number of elements in the parameter set passed in.
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
Janice usually works on a particular workbook that contains all business related data. she decides to keep a backup of all the data in a separate workbook. she opens a new workbook to transfer the data. which option should she use to copy all the data from one workbook to another workbook?
Answers: 1
question
Computers and Technology, 24.06.2019 09:50
Self contained sequences of actions to be performed are? a. expressions b. algorithms c. functions d. formulas
Answers: 1
You know the right answer?
List = 7 # these many modified fibonacci numbers. def fibonacci_gt(n, t1, t2): if n< 0: print("...
Questions
question
Biology, 05.05.2020 11:43
question
Mathematics, 05.05.2020 11:43
question
Mathematics, 05.05.2020 11:43
question
Mathematics, 05.05.2020 11:43
question
Mathematics, 05.05.2020 11:43
question
Mathematics, 05.05.2020 11:43
question
Mathematics, 05.05.2020 11:43
Questions on the website: 13722359