how to destroy a function in python from memory code example
Example: python clear memory
a = 10
print a
del a
print a ## throws an error here because it's been deleted already.
a = 10
print a
del a
print a ## throws an error here because it's been deleted already.