five appendices using error messages you can expect to make some errors while coding idle provides information about the location and type of errors in several waysdepending on the kind of error to be most usefulyou want to be able to decode the error feedback idle developers keep updating error messages to make them more useful the versions shown below are for python to illustratei start from file that is purposefully incorrectexample program badexamplecode pyto show off debugging ideasx input("enter number" print(' more is {}format(yprint('now we are done! also have an initial documentation linefollowed by lots of blank linesso the popup window shown below does not obscure any code if try to run this codei get pop-up invalid syntax window indicates the syntax error was found by the interpreter in just trying to read the program never getting to execution after you click on okthe popup window goes awayand idle highlights where it detected that there was an erroryou should see the "pat the beginning of the last line with pink background highlight you should know that print statements are perfectly legal there does not seem to be an issue with the word print note carefully what said earlierthis is where the interpreter first noticed there was an errorthe actual error could be earlier it just was not clear that there was one yet the most common earlier place is the previous lineand illustrated the most common such error the interpreter did not find an error on the previous line because it did not