I"m trying to make a sudoku puzzle generator (or at least the basics of one) for my project.
I'm approaching this by dividing the sudoku grid into 9 rows.
Each of the rows will be represented by a list and each list will have 9 elements to represent the nine squares that the row is made up of.
Now, I could go ahead and make 9 list (for each of the 9 rows) manually by doing
row_one = []
rwo_two = []
two_three = [] etc.
but I feel that there must be a better way to do this. So, is there a better way to make several variables with similar names like this?