@@ -371,9 +371,9 @@ values. The most versatile is the *list*, which can be written as a list of
371371comma-separated values (items) between square brackets. Lists might contain
372372items of different types, but usually the items all have the same type. ::
373373
374- >>> squares = [1, 2, 4, 9, 16, 25]
374+ >>> squares = [1, 4, 9, 16, 25]
375375 >>> squares
376- [1, 2, 4, 9, 16, 25]
376+ [1, 4, 9, 16, 25]
377377
378378Like strings (and all other built-in :term: `sequence ` type), lists can be
379379indexed and sliced::
@@ -389,12 +389,12 @@ All slice operations return a new list containing the requested elements. This
389389means that the following slice returns a new (shallow) copy of the list::
390390
391391 >>> squares[:]
392- [1, 2, 4, 9, 16, 25]
392+ [1, 4, 9, 16, 25]
393393
394394Lists also supports operations like concatenation::
395395
396396 >>> squares + [36, 49, 64, 81, 100]
397- [1, 2, 4, 9, 16, 25, 36, 49, 64, 81, 100]
397+ [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
398398
399399Unlike strings, which are :term: `immutable `, lists are a :term: `mutable `
400400type, i.e. it is possible to change their content::
0 commit comments