Basic Errors in python

A successful developer needs to know how to handle the errors. In python, basic errors are listed below. · Indentation error. · Syntax error · Type error · Name error 1.Indentation error: Python follows indentation properly. Let a is assigned to 7 and b is assigned to 4. Just check if a is greater than b, print a. Here, if statement and its block is in same indentation. In python, it is an indentation error. Let us rewrite the code with proper indentation. 2.Syntax error: This error comes when the user misses the syntax. The below example, user missed colon(:) in the while loop. Let we correct the error putting : after the while loop condition. Here, is the outcome. 3.Type error: This error occurs, whe...