+ 2

How does the python interpreter react??

Suppose your script attempts to print the value of a variable that has not yet been assigned a value.

12th Feb 2020, 4:49 PM
Revanth Reddy Gunapati
Revanth Reddy Gunapati - avatar
2 Respuestas
+ 3
It will give a NameError for undefined function declaration Remember that python interpreter knows about the data type of a variable in the runtime unlike in c/c++ where one has to set before the program starts executing
12th Feb 2020, 5:00 PM
Deepraj Baidya
Deepraj Baidya - avatar
+ 1
ReferenceError
12th Feb 2020, 4:56 PM
Gordon
Gordon - avatar