What is the basic difference between filter and takewhile of itertools? | Sololearn: Learn to code for FREE!