NameError

NameError is an error in python code which generally occurs whenever we try to use an undefined variable name for execution.