def rec_table_construct_final(table,base,lvl)
Recursive Construction method from the Base table. The recursive algorithm manage array building since 2 levels of recursive construction. => Do not use for the first recursive building loop
Parameters |
|
|
table | list |
|
base | int |
|
lvl | int |
|
- Returns
list : The fully specified level recursivity builded Base table
res=[]
basetable=table[0:base]
for i in range(0,len(basetable)):
basetable[i]=basetable[i][lvl:]
for eat in basetable:
for this in table:
res.append(eat+this)
return res