notebook.community
Edit and run
In [6]: def reversing(): print "Please enter the text to reverse: " x=raw_input() print x[::-1]
def reversing(): print "Please enter the text to reverse: " x=raw_input() print x[::-1]
In [7]: reversing()
reversing()
Please enter the text to reverse: hello olleh
In [ ]: