尽管我在下面的链接中找到了答案,但我想知道如何使用python中的itertools实现此目的。 combinations using n arrays by selecting one element from each
谢谢