i, j nested for loop with {itertools.product} {python}


from itertools import product
for i, j in product(range(N), range(M)):
    pass