Python create array of planes?

I’m extremely new to python and was looking for a way to create an assorted 17x17 grid of planes and name each plane something different such as “0,0” through to “16,16” and all in between. Furthermore how would I go about coloring each one using materials? It’s for a project and I have no idea how to use python other than the console for certain things. Python isn’t my native language, Java is.