Creating an Array: Difference between revisions

(+Ocaml)
Line 41:
#You would call the array by this code. This will call the 3rd 1 on the second list
Array[1][3]}
 
Alternatively you can create it programmatically. e.g.
 
Array = [ [i]*6 for i in range(4) ]
 
==[[Perl]]==
Anonymous user