Module:Sandbox/Estevoaei

--this is a comment --task2

p = {}

function p.CleverName(frame) return "Hello Wold." end

p.Hi = function(frame) anyName = frame.args.name or "Vladimir Putin" return "Hello from Lua to my friend " .. anyName .. ". " end

function p.temperature(frame) cel = tonumber(frame.args.celsius or 0) fah = cel * 9 / 5 + 32 if cel > 10 then msg = ". It is warm." else msg = ". It is not warm!" end return "The temperature is " .. fah .. "F" .. msg end

p.times = function(frame) local num = tonumber( frame.args.num ) or 2 local out = "Times table " for i = 1, 10 do out = out .. i * num .. " "	end return out end

return p