Two variable with same memory?

At 5:04 the mentor tells that if we take variable b then it would have the same memory location. But what if any value gets changed. Would both values be updated?
Is there actually any concept like that…

Hey @rishabb0220_574491cc1db7c5b2,
When value is changed the variable whose value is changed is assigned new memory block. Yes there is also a concept about shallow copy and deep copy, you can understand it better after learning these concepts.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.