[Tutor] if statement
Alan Gauld
alan.gauld at btinternet.com
Wed Jun 8 00:44:10 CEST 2011
"Andre Engels" <andreengels at gmail.com> wrote
> Actually, no, this case it's not your ignorance. What is probably
> going on is that you are using Python 2, but the book is going with
> Python 3.
You can quickly check the version by just typing python at
an OS command prompt to get into the interactive interpreter(>>>).
The welcome message should tell you the version you
are running.
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list