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

Which of the following was a MAJOR reason why the Anti-Federalists opposed the ratification of the United States Constitution?
Use a number line to order the numbers from least to greatest. 24.) 87/200, 0.44, 43.7%, 21/50
1. You fall down and scrape your hand – describe what each component of blood would be doing at the injury site.
What are 2 human-made causes that lead to succession?
Tunis is a free port in Morocco.
Is 3/12 and 4/10 equal
Write an equation that represents the proportional relationship 4:16?
Ben is reading a story that shares the perspectives of many characters. Which type of narrator does this describe?
In 1939, who wrote a letter to President Roosevelt alerting him to "a new and important source of energy" developed by scientist in the United States?
The "Emancipation Manifesto" signed by Czar Alexander II _____. a. provided freedom of religion b. gave serfs land c. allowed free elections d. opened up pr