--this is how you comment--Lua cares about case but not whitespace--function starts an action, p ends it--functions can be local or global (in front of p=), and if you don't write either, defaults to global--task 2: name=}} isn't an empty string! lua only recognizes a completely missing parameter as an empty string
p=
function p.Learning(frame) return "Hello World."end
p.Hi = function(frame) whatevsName = frame.args.name or "Bubba" return "Hello from Lua to my friend " .. whatevsName .. ".
"end
function p.temperature(frame) cel=frame.args.celsius cel=tonumber(13) fahr=cel*9/5+32 if cel > 12 then msg = " it is warm." else msg = " it is not that warm." end return "The temperature is " .. fahr .. " degrees Fahrenheit and " .. msg ..".
"end
return p