Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 183 Bytes
string = "reverse"
reversed_string = ''
for letter in string :
print(letter)
print(reversed_string + letter)
reversed_string = letter + reversed_string
print(reversed_string)