The Python Oracle

Why doesn't list have safe "get" method like dictionary?

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: Ancient Construction

--

Chapters
00:00 Question
00:22 Accepted answer (Score 156)
01:29 Answer 2 (Score 117)
01:50 Answer 3 (Score 69)
02:14 Answer 4 (Score 48)
02:32 Thank you

--

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

--

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

--

Tags
#python #list #exception #indexoutofboundsexception

#avk47