Python By Code
Wednesday, July 8, 2015
Program to reverse a string in python
s = 'abc'
s = s[::-1]
print s
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment