RosettaCodeData/Task/Logical-operations/Lua/logical-operations.lua

4 lines
56 B
Lua

function logic(a,b)
return a and b, a or b, not a
end