local latitude = -42
-- Проверка сверху вниз: выполняется первая истинная ветвь
local location
if latitude == 0 then
location = "Equator"
elseif latitude < 0 then
location = "Southern Hemisphere"
else
location = "Northern Hemisphere"
end
-- location = Southern Hemisphere
print("location = " .. location)