Wednesday, July 8, 2015

Program to reverse a string in python

s = 'abc'
s = s[::-1]
print s