118,855 views
4 votes
4 votes
HELP PLEASE

Which type of error occurred in the following lines of code?

>>> print(9 / 0)
Traceback (most recent call last):
File " ", line 1, in
9/0
ZeroDivisionError: division by zero

logical error
logical error

exception
exception

syntax error
syntax error

reserved word error
reserved word error

User Nelsy
by
3.6k points

1 Answer

0 votes
0 votes

Answer:

Logical Error

Step-by-step explanation:

The division by 0 is a logical error.

User Martin Copes
by
3.1k points