karan / Projects

:page_with_curl: A list of practical projects that anyone can solve in any programming language.
https://twitter.com/karangoel
MIT License
44.66k stars 10.53k forks source link

Project / Text / Reverse.py #31

Closed johnpaulhayes closed 10 years ago

johnpaulhayes commented 10 years ago

While it is useful to get the quickest method to reverse a string and the slice method is perfectly fine. It might be worth while including an algorithm to do so also.

So in that vein, here is an updated version you could potentially use: https://gist.github.com/johnpaulhayes/7039677