Nameerror name d is not defined. Nameerror python. is not defined python. name 'a' is not defined. nameerror("name 'привет' is not defined").