sigma_n = np.array([0.01, 0.1])
ls = np.array([0.1, 0.2])
for sigma_ni in sigma_n:
for ls_i in ls:
print("{},{}".format(sigma_ni, ls_i))
I was hoping to find out if there is any way I could print out the above in a pythonic way instead of 2 loops.