Issue 1013239: Python Tutorial 3.1.4 List example (original) (raw)
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.