I was trying to figure out how memory allocation works with regards to a tuple in python.
skills = ("Python", "pandas", "scikit-learn")
print(id(skills))
This gives me a value of 140555133913704
I modify this tuple to create a new one
skills += ("ml","dl")
print(id(skills))
The new address is 140555133738680
Is the tuple object at 140555133913704 deleted and the address cleared?
Is modifying a tuple less or more space efficient as compared to modifying a list?