Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get all the items list

my_list = [1, 2, 3, 4, 5]

print(my_list[::2])
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #items #list
ADD COMMENT
Topic
Name
7+1 =