/ Published in: Python
Almost not worth having a function for...
Expand |
Embed | Plain Text
def reverseString(s): """Reverses a string given to it.""" return s[::-1]
You need to login to post a comment.
ndegruchy on 07/11/06
9 people have marked this snippet as a favorite
ndegruchy
Kobold
anayhk
theodoretherone
vali29
kevcow
voyeg3r
maxint
gartenstuhl
Almost not worth having a function for...
def reverseString(s): """Reverses a string given to it.""" return s[::-1]
You need to login to post a comment.