Module:Sandbox/QuinticFormula

-- Module with a FizzBuzz function -- Lua is fun!

local p = {}

function p.fizzbuzz(frame) local t = {} for i = 1, 100 do		if i % 15 == 0 then t[i] = "FizzBuzz " elseif i % 5 == 0 then t[i] = "Buzz " elseif i % 3 == 0 then t[i] = "Fizz " else t[i] = i .. " "		end end return table.concat(t) end

return p