DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#loop
#element
#backwardly
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit