Is immutability a lie in Python? If we can change tuples and strings, can they really be considered immutable? Well, I will be explaining all of that in the video.
▶ Become job-ready with Python:
https://www.indently.io
▶ Follow me on Instagram:
/ indentlyreels
00:00 Intro
00:15 Updating a string
00:38 I thought strings were immutable though?
00:46 Tuples can also be changed???
01:23 Is immutability a lie in Python?
01:29 Indently.io (AD)
02:17 What happens when we change immutable types
02:52 So that’s why
03:37 Why understanding immutability is important
04:24 Strings are also immutable
04:40 Summing it up
05:06 Behind the scenes