Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ring Access List Items by String Index

aList = [ ["one",1] , ["two",2] , ["three",3] ]
see aList["one"] + nl +
    aList["two"] + nl +
    aList["three"]      # print 1 2 3
Source by ring-lang.github.io #
 
PREVIOUS NEXT
Tagged: #ring #Access #List #Items #String #Index
ADD COMMENT
Topic
Name
5+7 =