0
Is delete just filler?
Why waste an extra line with del when you could just erase the original line?
2 Réponses
+ 1
There may come a time where you dont need to use the variable any more and deleting it saves memory (RAM). On larger scale projects this would improve the performance of it.
+ 1
while a program runs, you will not be able to actively modify the source code. use del when you need a variable for a certain task, and del it when you're done, if you so choose.