function thing(n)
local words = {
"Junior",
"Senior",
}
local str = ""
repeat
if (n % 2) == 0 then
n = n - 2
str = str.." "..words[2]
else
n = n - 1
str = str.." "..words[1]
end
until n == 0
return str
end
print(thing(2))
To embed this project on your website, copy the following code and paste it into your website's HTML: