Seudónimo Seudónimo
  • 18-11-2020
  • Computers and Technology
contestada

What type of error occurred?

20 / 0


SyntaxError

ValueError

TypeError

ZeroDivisionError

Respuesta :

absor201
absor201 absor201
  • 18-11-2020

Answer:

"Option 4: ZeroDivisionError" is the correct answer

Explanation:

When we try to divide any number by zero in mathematics, the answer is infinity. Similarly, if we try to divide a number by zero in Python, the Python interpreter throws a "ZeroDivisionError" as the denominator or divisor cannot be a zero.

Hence,

"Option 4: ZeroDivisionError" is the correct answer

Answer Link

Otras preguntas

Definition of organism
How were Redi’s and Pasteur’s experiments similar?
When is it helpful to round the quotient to the nearest hundredth
what is the property if h+12=22, then h=10
[tex]60 \div 2(7 - 5) = x[/tex]
An adult says, "i never know the answers," and "my opinion doesn't count." which psychosocial crisis was unsuccessfully resolved for this adult
Angle p and q are supplementary and angle p is 30 degrees more than q. what is the measure of each angle?
A narrow strip of land that connects two larger land masses is called
What numbers are a distance of 23 unit from 12 on a number line?
3-2 1/3what is the difference?