Lapskaus IT
A computer blog as colorful as Lapskaus ingredients ...
Tuesday, October 19, 2010
Reverse a string, Python
def reverseString(s):
"""Reverses a string given to it."""
return s[::-1]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment