04.12.2020, 02:20
Hi Try like this
Code:
temp = { '20', '22', '5' }
diff = { '17', '18', '19' }
result ={}
for i = 1, #temp do
result[i] = temp[i] - diff[i]
end
log(result)