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.
4.7m questions
6.0m answers