Content deleted Content added
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16:
p.Temperature = function(frame)
cel = tonumber(frame.args.celsius)
fah = cel * 9 / 5 + 32
if cel > 20 then
return "so " .. frame.args.celsius .. " celsius is " .. fah .. " fahrenheit."▼
msg = "It is warm!"
else
msg = "It's chilly."
end
▲ return "so " .. frame.args.celsius .. " celsius is " .. fah .. " fahrenheit. " .. msg
end
|