In Python, "change" can mean two different things. Assignment changes which object a variable points to. Mutation, changes the object itself.
Article at https://pym.dev/assignment-versus-mut...
More #Python screencasts at https://pym.dev/screencasts/
00:00 Variables in Python are pointers
00:27 Mutating a list
01:07 Mutation
01:35 Assignment
02:19 Assignment vs mutation
03:03 Changing variables and changing objects
On this page of the site you can watch the video online Assignment vs Mutation in Python with a duration of hours minute second in good quality, which was uploaded by the user Python Morsels 18 May 2024, share the link with friends and acquaintances, this video has already been watched 397 times on youtube and it was liked by 23 viewers. Enjoy your viewing!