The Python Oracle

Python: Does an iteration through 'list[a:b]' first copy that part of the list (which could be expensive)?

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

--

Track title: CC P Beethoven - Piano Sonata No 2 in A

--

Chapters
00:00 Question
00:44 Accepted answer (Score 8)
01:47 Answer 2 (Score 2)
02:12 Answer 3 (Score 1)
02:39 Thank you

--

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

--

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

--

Tags
#python

#avk47