for x in range(1,7):
for w in range(1,7):
print(str(x)+","+str(w))
I wrote my code in python 3.8. I hope this helps.
9.2m questions
11.8m answers