10 lines
65 B
Python
10 lines
65 B
Python
>>> for c in reversed("foobar"):
|
|
... print(c)
|
|
...
|
|
r
|
|
a
|
|
b
|
|
o
|
|
o
|
|
f
|