Kata:Python:Reverse all the words in a string
February 04, 2009
s = "Theses are the words I want to reverse"
" ".join([x[::-1] for x in s.split()])
Lets take a look at this rather terse solution from the inside out.
Continue reading "Kata:Python:Reverse all the words in a string" »