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

Which word or words and punctuation best corrects any errors in the sentence? The book I'm reading is The Bad Queen: Rules and Instructions for Marie-Antoinett
Which of the following fractions is not equivalent to 8/22 ? A.4/11 B.2/5 C.12/33 D.16/44
Rewrite 7 1/8 as an improper fraction.
What is the perimeter of a hexagon that has equal sides of 12 inches ? A . 60 inches B. 66 inches C. 72 inches D . 84 inches
Read the quotation below and complete the instruction that follows. "Right from the beginning, I always strived to capture everything I saw as completely as p
The volume of a cube is 400 m3. Which statements are true about the same cube measured in cubic centimeters? Choose all answers that are correct. A. The number
6.5÷1345? please make the answer as short as posible.
Take a look at the pair of sentences, and then look at the combined sentence. Identify what was changed to form the new sentence. I visited the zoo. My first st
Describe an application where a parallel circuit might work better than a series circuit
The fraction 4/18 is in simplest form. True False