0

What is del used for?

We use the 'del' keyword to delete a variable. However, what is its use in programming?

27th Aug 2016, 4:02 AM
Nilabha Saha
Nilabha Saha - avatar
2 Answers
+ 1
u can use del for to delete variables to make memory free
16th Sep 2016, 10:39 AM
Shafiulla Pathan
Shafiulla Pathan - avatar
0
for example, you can delete a huge list/dictionary after analysing some big database. this will free some RAM for using by other programs or by your program again
27th Aug 2016, 9:13 AM
Demeth
Demeth - avatar