[ python-Bugs-1013239 ] Python Tutorial 3.1.4 List example

SourceForge.net noreply at sourceforge.net
Sat Aug 21 04:32:56 CEST 2004


Bugs item #1013239, was opened at 2004-08-20 21:29
Message generated for change (Settings changed) made by elsiebeth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1013239&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
>Priority: 1
Submitted By: Elizibeth Thompson (elsiebeth)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python Tutorial 3.1.4 List example

Initial Comment:
In chapter 3.1.4, there is an example of making and
using a list.  One of the examples is:

>>> a = ['spam', 'eggs', 100, 1234]

>>> a[1:-1]
['eggs', 100]

I didn't type this into Python, but I think that it
should be:

>>> a[1:-1]
['eggs', 1234]

Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1013239&group_id=5470


More information about the Python-bugs-list mailing list