Usuń element Matrix Python

array.remove(40)
Annoying Alpaca