xxxxxxxxxx
A = [1, 2, 3, 4, 5, 6]
B = [2, 3]
C = numpy.setdiff1d(A, B) # note that this will remove duplicates in the array that it returns
# C is now: [1, 4, 5, 6]
xxxxxxxxxx
array = ["red", "green", "blue"]
del array[0] # this deletes the first element, red, in the array