Assignment vs Mutation in Python

Publicado el: 18 mayo 2024
en el canal de: Python Morsels
397
23

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


En esta página del sitio puede ver el video en línea Assignment vs Mutation in Python de Duración hora minuto segunda en buena calidad , que subió el usuario Python Morsels 18 mayo 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 397 veces y le gustó 23 a los espectadores. Disfruta viendo!