DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+2 =
Submit