Can we declare an empty variable? How? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can we declare an empty variable? How?

be it any any data type, I want to store its value later in the program

5th Sep 2016, 5:25 PM
Rishabh Nishad
Rishabh Nishad - avatar
1 Answer
+ 2
variable = None the None object represents the absence of a value.
5th Sep 2016, 5:34 PM
Amarie