[Tutor] if statement

Adam Bark adam.jtm30 at gmail.com
Tue Nov 2 21:26:28 CET 2010


On 02/11/10 19:36, christopher.henk at allisontransmission.com wrote:
>
>
> Glen Clark wrote on 11/02/2010 03:07:18 PM:
>
> in general you should use raw_input instead of input.
>
> <SNIP>
> > confirmed = int(input("Are you happy with this? (y/n): ")
> >
>
It would appear that Glen is using python 3.x as he used the print 
function so input is correct.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20101102/8cb5f64b/attachment.html>


More information about the Tutor mailing list