Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ring Using Lists during definition

x = [ 1, 2, x ]
? x             # print 1 2 1 2
? len(x)        # print 3
? x[1]          # print 1
? x[2]          # print 2
? x[3]          # print 1 2
Source by ring-lang.github.io #
 
PREVIOUS NEXT
Tagged: #ring #Using #Lists #definition
ADD COMMENT
Topic
Name
8+2 =