Computer Science, asked by Adityaaditi440, 5 months ago

what is undefined value in python? ​

Answers

Answered by shivajikaithi
3

Answer:

In Python 3, I have a global variable which starts as "undefined".

Answered by probro56
1

Explanation:

um? I think this

Python 2.7.5+ (default, Feb 27 2014, 19:37:08)

[GCC 4.8.1] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> x

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

NameError: name 'x' is not defined

>>> global x

>>> x

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

NameError: name 'x' is not defined

>>>

Similar questions