+ 1
What is deference between mutable and immutable?
what exactly happen when we modify immutables? Is it possible to refer to modified immutables?
2 odpowiedzi
+ 5
Actually, nothing will *happen* as any attempt to modify an immutable will result in throwing an exception. That's what will "happen" at most :)
P.S. It's Python.
+ 1
Thanks 👌👍