Text rendering in pygame

I am just epreimenting with creating tile objects that each have a text rendered in front. In my code, I am trying to create two tiles and have differnet numbers appear in both files. But this code just produces two tiles with a 1 in the first one and then and empty green tile without the 2 in it.

How can I fix this?

type or paste code here