It feels so good, so quick and not C!

Jp Calderone exarkun at intarweb.us
Mon Mar 17 21:42:48 EST 2003


On Tue, Mar 18, 2003 at 12:58:56PM +1100, Delaney, Timothy C (Timothy) wrote:
> [snip]
> 
> The following two programs will do what you want a lot better.
> 
> Python 2.2 and earlier (will also work with later versions)
> 
>     print "This is a prompt. Enter a string to be reversed: ",
>     sOrig = raw_input()

  sOrig = raw_input("This is a prompt.  Enter a string to be reversed: ")

> [snip]

  Irrelevantly y'rs,

  Jp

-- 
 up 14 days, 17:59, 4 users, load average: 0.06, 0.06, 0.02





More information about the Python-list mailing list