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
5
Task/Collections/Sidef/collections-1.sidef
Normal file
5
Task/Collections/Sidef/collections-1.sidef
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# creating an empty array and adding values
|
||||
var a = [] #=> []
|
||||
a[0] = 1 #=> [1]
|
||||
a[3] = "abc" #=> [1, nil, nil, "abc"]
|
||||
a << 3.14 #=> [1, nil, nil, "abc", 3.14]
|
||||
Loading…
Add table
Add a link
Reference in a new issue