The code is correct, but the execution is faulty
Posted: Thu Jul 29, 2021 8:53 am
The following code I wrote without an error being reported, but when it was executed an error occurred.
Code: Select all
>>> a = 10/0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ZeroDivisionError: division by zero