Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
15
Task/Logical-operations/Lasso/logical-operations.lasso
Normal file
15
Task/Logical-operations/Lasso/logical-operations.lasso
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// br is just for formatting output here
|
||||
define br => '\r'
|
||||
|
||||
// define vars
|
||||
local(a = true, b = false)
|
||||
|
||||
// boolean comparators.
|
||||
// note, not including comparison operators which would return boolean results
|
||||
'a AND b: ' + (#a && #b)
|
||||
br
|
||||
'a OR b: ' + (#a || #b)
|
||||
br
|
||||
'NOT a: ' + !#a
|
||||
br
|
||||
'NOT a (using not): ' + not #a
|
||||
Loading…
Add table
Add a link
Reference in a new issue