Python += versus .extend() inside a function on a global variable
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: Life in a Drop
--
Chapters
00:00 Question
01:59 Accepted answer (Score 4)
04:17 Answer 2 (Score 0)
04:47 Thank you
--
Full question
https://stackoverflow.com/questions/1612...
Question links:
[PythonScope]: https://stackoverflow.com/questions/1463...
[globals don't need global]: https://stackoverflow.com/questions/1432...
[PyDocs]: http://docs.python.org/3/reference/lexic...
Accepted answer links:
[augmented assignment operator]: http://docs.python.org/2/reference/simpl...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #methods #global #operatorkeyword
#avk47
    --
Music by Eric Matyas
https://www.soundimage.org
Track title: Life in a Drop
--
Chapters
00:00 Question
01:59 Accepted answer (Score 4)
04:17 Answer 2 (Score 0)
04:47 Thank you
--
Full question
https://stackoverflow.com/questions/1612...
Question links:
[PythonScope]: https://stackoverflow.com/questions/1463...
[globals don't need global]: https://stackoverflow.com/questions/1432...
[PyDocs]: http://docs.python.org/3/reference/lexic...
Accepted answer links:
[augmented assignment operator]: http://docs.python.org/2/reference/simpl...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #methods #global #operatorkeyword
#avk47