The Python Oracle

How can I know which element in a list triggered an any() function?

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

--

Track title: CC C Schuberts Piano Sonata No 13 D

--

Chapters
00:00 Question
00:59 Accepted answer (Score 10)
01:19 Answer 2 (Score 4)
01:48 Answer 3 (Score 3)
02:57 Answer 4 (Score 1)
03:46 Thank you

--

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

Accepted answer links:
[next]: https://docs.python.org/2/library/functi...

Answer 4 links:
[What's new in Python 3.8]: https://docs.python.org/3/whatsnew/3.8.h...

--

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

--

Tags
#python #python27

#avk47