Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print a string by reverse way in python

s = "001100"
for x in s[len(s)-1::-1]:
    print(x)
 
PREVIOUS NEXT
Tagged: #print #string #reverse #python
ADD COMMENT
Topic
Name
5+5 =