DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
print strig backwards with loop python
string
=
"trick or treat"
for
i
in
range
(
len
(
string
)
-
1
,
0
-
1
,
-
1
)
:
print
string
[
i
]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#print
#strig
#loop
#python
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit