mariatchison53
mariatchison53 mariatchison53
  • 01-01-2021
  • Computers and Technology
contestada

identify the type of error described

identify the type of error described class=

Respuesta :

goodLizard
goodLizard goodLizard
  • 02-01-2021

Answer:

ZeroDivisionError

ValueError

Explanation:

ZeroDivisionError occurs when you attempt to divide a number by [tex]0[/tex].

ValueError occurs when the argument passed into a function holds the wrong value. In this case, the string is not numeric which cannot be passed into the float() function.

Hope this helps :)

Answer Link

Otras preguntas

Choose the study habit that would most help Sophia better remember what she reads. A.Sophia should write down the main ideas while she is reading and study wor
If y= x^2-2x and u=2x+1, then (dy/du) =
PLEASE HELP ASAP!! Which ones are linear and which ones are nonlinear??
given the function f(x)=3x+5a / x^2-a^2 find the value of a for which f'(12) = 0
what does this excerpt from act 1 of macbeth say about lady macbeth LADY MACBETH: The raven himself is hoarse That croaks the fatal entrance of Duncan Under my
Caleb is driving a car in which dona is a passenger when an accident occurs. caleb and dona are emotionally rattled, but neither is physically hurt. caleb is no
What is the momentum of a 1.10 ✕ 104 kg garbage truck moving at 25.0 m/s?
How do you write 7,285,000.000 in scientific notation?
What organisms alternate between haploid to diploid?
Which territory did great britain acquire as a result of the french and indian war?