How do I check if a Python variable exists?
Answers
Answered by
0
Python doesn't have a specific function to test whether a variable is defined, since all variables are expected to have been defined before use - even if initially just assigned the None object. Attempting to access a variable that hasn't previously been defined will raise an exception.
please make me brainlist
Answered by
0
Do not know the answer buddy.
Similar questions
English,
6 months ago
Computer Science,
1 year ago