Search
 
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
Name
3+4 =