monkeypants101176 monkeypants101176
  • 09-05-2022
  • Computers and Technology
contestada

100 POINTS
What error will occur if this is the first line of a program?

num = 100/0

A.
NameError

B.
ZeroDivisionError

C.
TypeError

D.
SyntaxError

Respuesta :

djmolly9
djmolly9 djmolly9
  • 09-05-2022

Answer:

D. syntax error

Explanation:

num = 100/0 ;

Answer Link
Аноним Аноним
  • 14-05-2022

ZeroDivisionError

See

  • any no divided by 0 tends to infinity or equal to infinity
  • In math it's applicible but not in python or other codings.

So option B is correct

Answer Link

Otras preguntas

A construction crew built 1/2 miles of road in 1/6 days. What is the unit rate in miles per day? Write your answer in simplest form.
What happens to the population size when organisms emigrate? A. It remains the same. B. It decreases and then increases. C. It increases. D. It decreases.
If the right triangle shown, AC= BC and AB=4, how long are each of the legs
Which of the following graphs depicts the graph of the given system of equations
Which is the answer..
ALWAYS use significant figure rules. Remember that these rules apply to all numbers that are measurements. Light travels approximately 982,080,000 ft/s, and one
Find an equivalent fraction for the decimal number. Be sure that your answer is in lowest terms. Enter the numerator into the first box and the denominator of t
URGENT PLEASE ANSWER ASAP!!!!Find the numerical part of your answer in standard notation and TWO significant digits. A 1.52 kg block is attached to a spring wit
What is the answer if I simply this
PLEASE SOMEONE HELP!!!!!!!!!!!!!