Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to index lists in python

# Make the list
list = ['bananas', 'apples', 'watermellon']
# Print the word apples from the list
print(list[1])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #index #lists #python
ADD COMMENT
Topic
Name
7+3 =