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/Arrays/Ring/arrays.ring
Normal file
11
Task/Arrays/Ring/arrays.ring
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# create an array with one string in it
|
||||
a = ['foo']
|
||||
|
||||
# add items
|
||||
a + 1 # ["foo", 1]
|
||||
|
||||
# set the value at a specific index in the array
|
||||
a[1] = 2 # [2, 1]
|
||||
|
||||
# retrieve an element
|
||||
see a[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue