You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-The computer reads the value of `variable_one` when doing the multiplication,
218
+
-Python reads the value of `variable_one` when doing the multiplication,
195
219
creates a new value, and assigns it to `variable_two`.
196
-
- Afterwards, the value of `variable_two` is set to the new value and *not dependent on `variable_one`* so its value
220
+
- Afterwards, `variable_two` is set to this new value and *is not dependent on `variable_one`* so its value
197
221
does not automatically change when `variable_one` changes.
198
222
223
+
Some data types that we haven't encountered yet (e.g. _lists_, _dictionaries_, and _objects_) have "links" inside them so they behave somewhat differently when you assign values to their *contents*. An example of this is shown in [Episode 12: Lists](../11-lists.md#copying-or-not). Assigning a list value to a new variable is like copying and pasting a formula from one cell to another. When you update an item in that list with the new value, you're updating that canonical list.
0 commit comments