What is bug and what is debugging ? When programs throw errors that we didn’t expect to encounter we call those errors bugs
Programmers call the process of updating the program so that it no longer produces unexpected errors debugging
what are Errors?
programming languages attempt to understand and explain mistakes made in their programs. refers to these mistakes as errors
what are the Common Mistakes or Errors?
SyntaxError and NameError
what is SyntaxError ? SyntaxError means there is something wrong with the way your program is written — punctuation that does not belong, a command where it is not expected, or a missing parenthesis can all trigger a SyntaxError
what is NAmeError? A NameError occurs when the Python interpreter sees a word it does not recognize. Code that contains something that looks like a variable but was never defined will throw a NameError