On Sun, 02 Dec 2012 22:28:48 -0000, Verde Denim <tdl...@gmail.com> wrote:
Nicely done! That fixed it! Is that a version feature or should I take what I find in these books with a grain of salt?
It's a difference between Python 2 and Python 3 (which is almost certainly what your book told you to). The other feature which you will trip over is that "print" was a keyword in Python 2, but is a function in Python 3. This happens to have made no difference in the example you gave, but try this:
Python 3.2 (r32:88445, Oct 20 2012, 14:09:29) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.
print(1,2,3)
1 2 3 Python 2.7.1+ (r271:86832, Sep 27 2012, 21:12:17) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.
print(1,2,3)
(1, 2, 3) -- Rhodri James *-* Wildebeest Herder to the Masses -- http://mail.python.org/mailman/listinfo/python-list