Change Element In Array Python Matrix