I am asking the program to print out the numbers 1 through 9 in a random order, in a grid. The problem is that when it prints out, it will have the same numbers twice. Here is the code that I have so far:`import random rows = 3 cols = 3
values = [[0,0,0]]
for r in range(rows):
for c in range(cols):
values [r][c] = random.randint(1, 9)
print(values)
`
and an example output:
[[6, 0, 0]]
[[6, 4, 0]]
[[6, 4, 2]]
also, those double brackets are annoying. any way to fix that?