Multiple returns

return a, b.

return a, b unpacks on the left.

Goal

Return city and units together.

local function row()
  return "Nairobi", 12
end
local city, units = row()
print(city, units)
local function split(n)
  return n, n * 40
end
local units, shillings = split(8)
print(units, shillings)
local a, b = "Mombasa", "Kisumu"
print(a, b)
local function bounds(t)
  return t[1], t[#t]
end
print(bounds({4, 5, 12}))