1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nikitich [7]
4 years ago
12

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?
Computers and Technology
1 answer:
Aloiza [94]4 years ago
5 0

Answer:

Being Python code the output will be an exception.

Explanation:

The function body of <em>generate_numbers</em> is calling the BIF <em>round</em>, which expects at least one argument of a numeric type, the first is the number to be round, and the second optional one is the precision after the decimal point. The call to <em>round</em> in <em>generate_numbers</em>,<em> </em>the first argument is a list, throwing a TypeError exception.

You might be interested in
A byte in memory is identified by a unique number called its
Murrr4er [49]
It is identified by its address number.
4 0
4 years ago
Kyla, a business analyst uses test scripts while testing an application before it is released to the client. Why do business ana
Mariana [72]

Answer:

D. to create a test environment

Explanation:

After releasing it will be "production"

8 0
3 years ago
Purple gang or green gang?
zhuklara [117]

Answer:

Purple?

Explanation:

8 0
3 years ago
Read 2 more answers
State three positive uses of the computer in the government sector​
WINSTONCH [101]

Well Here I got 4

1. Email Functions

2. Distributing Payments

3. Record Keeping

4. Direct Mail Promotions

<em>Have A great night!</em>

<em></em>

6 0
4 years ago
What does 32mb SVGA do
Nadya [2.5K]

Answer:

hope it helps PLZ MARK ME BRAINLIEST,,!

Explanation:

They stabilize your grpahic image.

5 0
3 years ago
Other questions:
  • Ok, so this isn't a tech question it's about a game, moomoo.io so don't hate on this if you don't know it, 40 points to whoever
    12·2 answers
  • Choose a project with a relatively simple description (building a LAN, designing a web page, inventing a new communication devic
    6·1 answer
  • A user called to inform you that the laptop she purchased yesterday is malfunctioning and will not connect to her wireless netwo
    14·1 answer
  • List the five parts of a system.describe them.
    13·1 answer
  • Which technique is best suited to create technical drawings?
    10·1 answer
  • Part of metacognition involves making a plan to address <br> .
    9·2 answers
  • When converting text to a table, which feature should be used?
    12·1 answer
  • ____ a device receiving a process variable
    12·1 answer
  • Which best compares portrait and landscape orientations?
    7·1 answer
  • Could anyone please answer this?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!