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

Does anybody know this ???
This is the difference between stanzas and lines: Stanzas are larger bodies of work, lines make up stanzas. O True O False
Write an inequality to label the shaded region of the graph -3 2 11 X -3 - 4 - - 1 -2 3 4
Which equation models the trend line? y 10 00 6 4 2 Х 0 0 2 4 6 8 HELP ME
A chemist has discovered a drug that blocks an enzyme that catalyzes some of the reactions of glycolysis. He wants to use the drug to kill bacteria in people wi
what does the phrase ''Founding Fathers'' mean?
if m 1 =7x and m 4 =3x +20 what is the value of x​
Farmer john's son built a track to walk his pet pig. The track goes around the rectangular pig pen. The pig pen is 15 ft long and 21 ft wide, if the pig walks a
2w+4w+3=8-5w+6solve pls. no links!!!​
A physical change to a substance can never be reversed increase or decrease the mass of a substance changes to type of matter the substance is made of changes