First commit of partial RosettaCode contents.
Pushing this for testing purposes. Lots of work still needed.
This commit is contained in:
commit
1e05ecd7ee
781 changed files with 9080 additions and 0 deletions
11
Task/FizzBuzz/Lua/fizzbuzz.lua
Normal file
11
Task/FizzBuzz/Lua/fizzbuzz.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
for i = 1, 100 do
|
||||
if i % 15 == 0 then
|
||||
print("FizzBuzz")
|
||||
elseif i % 3 == 0 then
|
||||
print("Fizz")
|
||||
elseif i % 5 == 0 then
|
||||
print("Buzz")
|
||||
else
|
||||
print(i)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue