I'm trying to remove item "a" from list nm but not from list name but some how remove function deletes it from both the lists. Please Help!
I've tried using del function instead too, no success.
>>> name=["a","b","c"]
>>> nm=name
>>> nm.remove("a")
>>> nm`enter code here`
['b', 'c']
>>> name
['b', 'c']
I was expecting the name list to remain as ["a","b","c"] at the end.