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

Note: Enter your answer and SHOW ALL THE STEPS NECESSARY to solve this problem in the space provided. You will not receive credit without all work shown. Descr
what is the standard form for (4x+9)(−x2−3x+1)
Study the physical map of South Africa below and answer the questions that follow: Summer rain Winter rain Rain throughout the year Arid regions Very dry Bengue
Postmodernism asserts that _______.
Mapa mental sobre patriarcalismo
I need some help with this question, 30 points will be given
Which text uses the word literally in its traditional sense?
14. Which is the best description of where earthquakes are likely to occur? A. In the middle of a continent C. Along a coastline B. Along two plate boundari
O ser humano pode ser entendido como um ser de metalinguagens. ORQUE 1. O ser humano se vale da sua própria linguagem para construir e aprimorar as formas, ingu
What is the derivative of (x + 1) sin x?