Thursday, October 06, 2005

A Python one liner

I was just fiddling around with IDLE, when I made up this one line program to reverse a string and display it.

print (raw_input()[::-1])


Well it is not too clever, but what the heck it is my blog and I put in whatever I want to.

No comments: