Php Pretty Print Array Python Initialize Matrix