Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python loop take out element backwardly

m_list = [0, 1, 2, 3, 4, 5]

for i in range(len(m_list)):
  print m_list[len(m_list)-1-i]
 
PREVIOUS NEXT
Tagged: #python #loop #element #backwardly
ADD COMMENT
Topic
Name
2+6 =