Posted By

ndegruchy on 07/11/06


Tagged

basic textmate python String


Versions (?)

Who likes this?

9 people have marked this snippet as a favorite

ndegruchy
Kobold
anayhk
theodoretherone
vali29
kevcow
voyeg3r
maxint
gartenstuhl


Reverse String


 / Published in: Python
 

Almost not worth having a function for...

  1. def reverseString(s):
  2. """Reverses a string given to it."""
  3. return s[::-1]

Report this snippet  

You need to login to post a comment.