what do you understand by undefined variable in python?
Answers
Answered by
24
Answer:
An undefined variable in the source code of a computer program is a variable that is accessed in the code but has not been previously declared by that code. In some programming languages, an implicit declaration is provided the first time such a variable is encountered at compile time.
Answered by
22
Answer:
Undefined variable. An undefined variable is a variable that is used in a program that has not been previously declared in the source code. In most programming languages, this results in an error. With this in place, the x variable won't have a value of "undefined.
Similar questions