← go back

guys I found the best way to print hello world

test = {"H", "e", "l", "l", "o", " ", "w", "o", "r", "l", "d"}
for i = 1, 11, 1 do
    if i == 1 then
        char1 = test[i]
    end
    if i == 2 then
        char2 = test[i]
    end
    if i == 3 then
        char3 = test[i]
    end
    if i == 4 then
        char4 = test[i]
    end
    if i == 5 then
        char5 = test[i]
    end
    if i == 6 then
        char6 = test[i]
    end
    if i == 7 then
        char7 = test[i]
    end
    if i == 8 then
        char8 = test[i]
    end
    if i == 9 then
        char9 = test[i]
    end
    if i == 10 then
        char10 = test[i]
    end
    if i == 11 then
        char11 = test[i]
    end
end
print(char1..char2..char3..char4..char5..char6..char7..char8..char9..char10..char11)
Oct 17, 2024, 2:08 PM
3 0 2

Comments