在itertools模块 里面 product函数
我做个笔记,差点又忘了,那些用模块的啊,真是图样图森破 全排列可以这样那个写 [[x,y,z] for x in [1,2,3] for y in ['a','b','c'] for z in ['o','r','z']]
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn