Skip to content

Commit

Permalink
Minor edit about tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
davewhipp committed Aug 20, 2024
1 parent 39c33d5 commit 88adf05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/part1/chapter-02/md/00-python-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ cute_animals[-2]
<!-- #region editable=true slideshow={"slide_type": ""} -->
### Modifying list values

Another nice feature of lists is that they are {term}`mutable`, meaning that the values in a list that has been defined are able to be modified. Consider a list of the observation station types corresponding to the station names in the `station_names` list.
Another nice feature of lists is that they are {term}`mutable`, meaning that the values in a list that has been defined are able to be modified. The {term}`immutable` equivalent of a list in Python is called a {term}`tuple`, which we will use later in this part of the book. Consider a list of the observation station types corresponding to the station names in the `station_names` list.
<!-- #endregion -->

```python
Expand Down
2 changes: 1 addition & 1 deletion source/part1/chapter-02/nb/00-python-basics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@
"source": [
"### Modifying list values\n",
"\n",
"Another nice feature of lists is that they are {term}`mutable`, meaning that the values in a list that has been defined are able to be modified. Consider a list of the observation station types corresponding to the station names in the `station_names` list."
"Another nice feature of lists is that they are {term}`mutable`, meaning that the values in a list that has been defined are able to be modified. The {term}`immutable` equivalent of a list in Python is called a {term}`tuple`, which we will use later in this part of the book. Consider a list of the observation station types corresponding to the station names in the `station_names` list."
]
},
{
Expand Down

0 comments on commit 88adf05

Please sign in to comment.