from itertools import product b=0 for i in product(range(2),repeat=4): b+=1 print(i) print(b)
python 条件组合
最新推荐文章于 2023-08-23 14:11:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
from itertools import product b=0 for i in product(range(2),repeat=4): b+=1 print(i) print(b)