Skip to main content
Ask a Question
Vraj A. Desai
Computer Science Student
Asked a question 10 months ago

why the same objects in list stores in same memory address. I want to store that same objects in different memory address. For example, ls = [1,2,1,1] so here memory address of ls[0], ls[2] and ls[3] is same. But I want to store it in different memory address. If anyone knows then please help me

Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now