DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
for loop the string from reverse order and skipping last element in string python
for i in reversed(x[:-1]): print(i)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#loop
#string
#reverse
#order
#skipping
#element
#string
#python
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit