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

what type of error occurred with the code below??

what type of error occurred with the code below class=

Respuesta :

goodLizard
goodLizard goodLizard
  • 02-01-2021

Answer:

ValueError

Explanation:

The string 'five' holds characters that are not numeric, meaning it will raise ValueError since the function int() does not accept arguments that are strings with characters that are not numbers/numeric.

Hope this helps :)

Answer Link

Otras preguntas

How do you solve 111.8 divided by 13
Consider the formula for glucose: C6H12O6. What does this indicate about the relationship of the reactants to glucose?
what are the two general types of energy that can be used to classify many forms of energy?
A pitcher contains 2/3 quart of lemonade. If an equal amount of lemonade is poured into each of 6 glasses, how much lemonade will each glass contain?
Alexander the Great’s empire was eventually divided up into _____ powerful kingdoms.
what is 31.75 rounded to the nearest tenth
Which of the following is NOT a valid reason for using credit?
Which is not a property of a mineral? a. hardness b. diffraction c. cleavage d. luster
Is magnesium a element compound or mixture
where is crust neither formed or destroyed