+ 6
In first case you create a shallow copy of m. They have same values but they are different objects so modifying one doesn't affect other one. But in the second case n and m are same objects so modifying one changes other too.
13th Feb 2019, 7:19 PM
Mert Yazıcı
Mert Yazıcı - avatar