The Python Oracle

Nicest, efficient way to get result tuple of sequence items fulfilling and not fulfilling condition

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

--

Track title: CC M Beethoven - Piano Sonata No 3 in C 3

--

Chapters
00:00 Question
01:23 Accepted answer (Score 5)
01:43 Answer 2 (Score 2)
02:38 Answer 3 (Score 0)
03:24 Thank you

--

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

Answer 2 links:
[tee]: http://docs.python.org/library/itertools...

--

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

--

Tags
#python #filter #generator #datapartitioning

#avk47