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

Strands of RNA do NOT contain which of the following bases?a)adenine b)cytosine c)guanine d)thymine
what did Richelieu Do
If a wave hits a smooth surface at an angle of incidence of 40 degrees, the angle of reflection is A. 40 degrees. B. 0 degrees. C. 90 degrees. D. 80 degrees.
Simplify 20 + (2 + r).
You buy 24 keyboards for $120 each less 15%. What is your subtotal before taxes? A. $2,448 B. $2,552 C. $2,425 D. $2,880
Why was New York City chosen as the first capital of the United States
Which of the following is NOT a treatment for high blood pressure? a. an LDL-rich diet b. a 6y diet c. blood thinners d. aerobic exercise
The tongue is covered with hairlike projections called A. taste buds. c. cilia. B. papillae. d. tactile receptors.
A rectangle has a perimeter of 196 meters and a length of 50 meters.What is the width of the rectangle? Explain.
Tennis ball with a diameter of 2.5 inches are sold in cans of three the can is a cylinder what is the volume of the space not occupied by the tennis balls ? Ass