(Jul-02-2018, 09:36 AM)yksingh1097 Wrote: Does that mean there are two lists with same name words?No, the copy of the list is not assigned to any variable name. It is used in the loop and then garbage collected.
Or if you prefer, one name, in this case
words
always points to one object
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs