KnowledgeBoat Logo

Computer Science

What is the difference between an error and exception?

Python Data Handling

17 Likes

Answer

An Error is a bug in the code that causes irregular output or stops the program from executing whereas an Exception is an irregular unexpected situation occurring during execution on which programmer has no control.

Answered By

12 Likes


Related Questions