I want to delete word sabin from the array but it is showing some error...

```
array=["sabin","ram","hari","sabin"]

length=len(array)

for steps in range(length):
    if(array[steps]=="sabin"):
        print("removed=%s"%(array[steps]))
        del array[steps]

length=len(array)

print(length)

```