Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

List Nested Lists

x = [3, 4, [7, 8]]
print(x[2][1])
# 8
Source by xahlee.info #
 
PREVIOUS NEXT
Tagged: #List #Nested #Lists
ADD COMMENT
Topic
Name
1+2 =