for x in range(1, 4): for y in range(1, 4): print(f"({x}, {y})")