How Python handles errors - TamTam Learning