+ 3
How to reverse a string in Python using for loop??
please make me understand ..
5 Respostas
+ 2
text = "string";
for x in reversed(text):
print(x);
#First define string, then use the reversed() function.
+ 2
yep, I know that method and built in also
+ 1
right Mr. Jay
0
for i in reversed('speed'):
print(i)