Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to access items in a list

list_example = ["python","ruby","java","javascript","c#","css","html"]
print(list_example[3])#javascript
print(list_example[0])#python
print(list_example[6])#html
print(list_example[0:3])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #items #list
ADD COMMENT
Topic
Name
3+5 =