Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub-courses
python_one_week_4_biologists_solutions
Commits
0e7a0e61
Unverified
Commit
0e7a0e61
authored
Jun 07, 2021
by
Bertrand NÉRON
Browse files
fix typos
parent
c62da517
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/Collection_Data_Types.rst
View file @
0e7a0e61
...
@@ -56,7 +56,7 @@ but not the references to this object, then the 2 variables x and y still refere
...
@@ -56,7 +56,7 @@ but not the references to this object, then the 2 variables x and y still refere
compare with the exercise on string and integers:
compare with the exercise on string and integers:
Since list are mutable, when ``+=`` is used the original list object is modified, so no rebinding of *x* is necessary.
Since list are mutable, when ``+=`` is used the original list object is modified, so no rebinding of *x* is necessary.
We can observe this using *id()* which give the memory adress of an object. This adress does not change after the
We can observe this using *id()* which give the memory ad
d
ress of an object. This ad
d
ress does not change after the
``+=`` operation.
``+=`` operation.
.. note::
.. note::
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment