introduction an error is an abnormal condition that results in unexpected behavior of program common kinds of errors are syntax errors and logical errors syntax errors arise due to poor understanding of the language logical errors arise due to poor understanding of the problem and its solution anomalies that occur at runtime are known as exceptions exceptions are of two typessynchronous exceptions and asynchronous exceptions synchronous exceptions are caused due to mistakes in the logic of the program and can be controlled asynchronous exceptions are caused due to hardware failure or operating system level failures and cannot be controlled examples of synchronous exceptions aredivide by zeroarray index out of boundsetc examples of asynchronous exceptions areout of memory errormemory overflowmemory underflowdisk failureetc overview of errors and exceptions in python is as followshandling exceptions flowchart for exception handling process is as follows