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

find the circumference of a circle whose radius is 15.4cm
find the circumference of a circle whose radius is 15.4cm
What value of x makes the equation true ? 4(2x-4)=16
In scientific notation, what is the sum of 2.3 times 10^{-3} and 5.4 times 10^{-4}?a. 2.84 times 10^{-3}b. 5.63 times 10^{-3}c. 7.7 times 10^{-7}d. 12.42 times
What value of x makes the equation true ? 4(2x-4)=16
find the circumference of a circle whose radius is 15.4cm
In scientific notation, what is the sum of 2.3 times 10^{-3} and 5.4 times 10^{-4}?a. 2.84 times 10^{-3}b. 5.63 times 10^{-3}c. 7.7 times 10^{-7}d. 12.42 times
find the circumference of a circle whose radius is 15.4cm
jasmines cd collection is 3/8 jazz 1/4 rap and the rest is rock music what is the fraction of rock music
What value of x makes the equation true ? 4(2x-4)=16