def del():
print(“Got deleted”)
a=[1,2,3]
del(a)
how to make sure that the del function got invoked without creating the class?
or
Why “Got deleted” is not getting print as everything is an object in python and it won’t override the global/parent del method?