DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to reverse a list in python using for loop
a = ['a', 'b', '4', '5', 'd'] #reverse the List for i in reversed(a): print(i)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#reverse
#list
#python
#loop
ADD COMMENT
Topic
COMMENT
Name
5+7 =
Submit