The Python Oracle

very wonderous loop behavior: lists changes identity. What is happening?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Peaceful Mind

--

Chapters
00:00 Question
01:03 Accepted answer (Score 6)
01:42 Answer 2 (Score 2)
02:10 Answer 3 (Score 0)
02:36 Thank you

--

Full question
https://stackoverflow.com/questions/3512...

Answer 1 links:
[docs]: https://docs.python.org/2/library/functi...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #loops #forloop #scope

#avk47