In article <163b0c86-adf7-434c-9270-c819c5a07...@k29g2000prf.googlegroups.com>, grocery_stocker <cdal...@gmail.com> wrote: > >[cdal...@localhost ~]$ python >Python 2.4.3 (#1, Oct 1 2006, 18:00:19) >[GCC 4.1.1 20060928 (Red Hat 4.1.1-28)] on linux2 >Type "help", "copyright", "credits" or "license" for more information. >>>> list = [7,8,9]
Don't use a variable named "list" -- you're hiding the list() type. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning about it is at best rationalization of gut feelings, and at worst plain wrong." --GvR, python-ideas, 2009-3-1 -- http://mail.python.org/mailman/listinfo/python-list