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
11
Task/Boolean-values/Lasso/boolean-values-1.lasso
Normal file
11
Task/Boolean-values/Lasso/boolean-values-1.lasso
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
!true
|
||||
// => false
|
||||
|
||||
not false
|
||||
// => true
|
||||
|
||||
var(x = true)
|
||||
$x // => true
|
||||
|
||||
$x = false
|
||||
$x // => false
|
||||
7
Task/Boolean-values/Lasso/boolean-values-2.lasso
Normal file
7
Task/Boolean-values/Lasso/boolean-values-2.lasso
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
local(x = string)
|
||||
// size is 0
|
||||
#x->size ? 'yes' | 'no'
|
||||
|
||||
local(x = '123fsfsd')
|
||||
// size is 8
|
||||
#x->size ? 'yes' | 'no'
|
||||
Loading…
Add table
Add a link
Reference in a new issue