Published
- 1 min read
lua for loop
The solution for this is noted below
lua for loop
Solution
-- For K,V in table
for k,v in pairs(tbl) do
print(k)
print(v)
end
-- For i=0, num
for i=0, num do
print(i)
end
Try other methods by searching on the site. That is if this doesn’t work