来源:https://stackoverflow.com/questions/38362368/using-itertools-product-in-place-of-double-nested-for-loop-in-python-3 标签 python python-3.x generator itertools cartesian-product