相关疑难解决方法(0)

动态锁大小的锁组合

下面我将给出两个具有不同维度值的示例。

锁-1

# numbers are the shown values on the so in this case: 0,1,2
numbers = 5
# fields are those things i can turn to change my combination
fields = 4
Run Code Online (Sandbox Code Playgroud)

所以我对我所有的可能性的期望是

0   0   0   5
0   0   1   4
0   0   2   3
0   0   3   2
0   0   4   1
0   0   5   0
0   1   0   4
0   1   1   3
0   1   2   2
0   1   3   1
0   1   4   0
0   2 …
Run Code Online (Sandbox Code Playgroud)

python recursion

2
推荐指数
1
解决办法
1086
查看次数

标签 统计

python ×1

recursion ×1