Python tutorial: immutable vs mutable objects

preview_player
Показать описание
Python tutorial: immutable vs mutable objects

My 2nd Channel: Techno Panda Show


👍 Disclosure: Some links may be affiliate links. As an Amazon Associate I earn from qualifying purchases
Рекомендации по теме
Комментарии
Автор

Hi.. It is a nice explanation which I found after a lot of googling. But, I have a small doubt regarding this, this concept of immutability works only when the object is passed to functions? because, in a .py file which has no functions in it modifies the string value as many times as we want. I really need to know the exact difference, please help.

konalaharish