The output isn't printing out "Hot Dog". I am trying to learn table.find() and I started adding more tables in side of tables to see how it would work, but it just prints out nil, why is that? Here's the code
local t = {
{"Burger",1000},
{"Taco",5000},
{"Hot Dog",150000},
{"Steak",60},
{"Grilled Cheese",10}
}
for i, number in pairs(t) do
print(number)
print(table.find(t,"Hot Dog",5))
end

1 comment
legit just asking this so i can learn