2021年3月5日星期五

How can I create a new table of tables with modified values from another table

how could I make a new table like

local beesNumbers = {  [1]={[1]={1,2}},  [2]={1,2},  [3]={[1]={[1]={1,2}}},  [4]={1,2,3},  }  

but with all the numbers divided by 8

so basically the same format but every number value is devided by 8

https://stackoverflow.com/questions/66502226/how-can-i-create-a-new-table-of-tables-with-modified-values-from-another-table March 06, 2021 at 11:58AM

没有评论:

发表评论