grid = [["-","-","-","-","-","-","-","-","-","-"], ["-","-","-","-","-","-","-","-","-","-"], ["-","-","-","-","-","-","-","-","-","-"],["-","-","-","-","-","-","-","-","-","-"],["-","-","-","-","-","-","-","-","-","-"],["-","-","-","-","-","-","-","-","-","-"],["-","-","-","-","-","-","-","-","-","-"],["-","-","-","-","-","-","-","-","-","-"],["-","-","-","-","-","-","-","-","-","-"],["-","-","-","-","-","-","-","-","-","-"]]
for i in grid:
for j in range(10):
print(i[j],end=" ")
print()
print()
I created a 9*9 matrix but I want to number them so what should I do?
I have just “-”