RosettaCodeData/Task/Hello-world-Text/Lua/hello-world-text-2.lua

7 lines
156 B
Lua
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
local chars = {"G","o","o","d","b","y","e",","," ","W","o","r","l","d","!"}
for i = 1, #chars do
io.write(chars[i])
end
-- or:
print(table.concat(chars))