14 lines
193 B
Lua
14 lines
193 B
Lua
|
|
for i = 1, 100 do
|
||
|
|
output = ""
|
||
|
|
if i % 3 == 0 then
|
||
|
|
output = output.."Fizz"
|
||
|
|
end
|
||
|
|
if i % 5 == 0 then
|
||
|
|
output = output.."Buzz"
|
||
|
|
end
|
||
|
|
if(output == "") then
|
||
|
|
output = i
|
||
|
|
end
|
||
|
|
print(output)
|
||
|
|
end
|