Is the use of del bad?
Is the use of del bad? Question: I commonly use del in my code to delete objects: >>> array = [4, 6, 7, ‘hello’, 8] >>> del(array[array.index(‘hello’)]) >>> array [4, 6, 7, 8] >>> But I have heard many people say that the use of del is unpythonic. Is using del bad practice? >>> array …