Skip to content

Commit 88263cd

Browse files
committed
little things
1 parent 4c8907e commit 88263cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lists-and-tuples.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ behave like this:
186186

187187
This can be confusing at first, but it's actually easy to
188188
explain. The problem with this code example is the `b = a`
189-
line. If we draw a diagram of this example it looks like this:
189+
line. If we draw a picture of the variables it looks like this:
190190

191191
![Same list.](images/samelist.png)
192192

@@ -218,6 +218,8 @@ If we need **a new list with similar content** we can use the
218218
>>> b is a
219219
False
220220
>>> b.append(4)
221+
>>> b
222+
[1, 2, 3, 4]
221223
>>> a
222224
[1, 2, 3]
223225
>>>

0 commit comments

Comments
 (0)