How to declare a variable in Python without assigning a value to it?
Answers
Answered by
0
the information you provide. I
Answered by
0
If you want to declare a variable in Python without assigning a value to it, you can simply say e.g: my_variable = None
And that's it. You should now have an empty variable. Just assign the value to it to be None.
Similar questions