What do we need itertools for? | Sololearn: Learn to code for FREE!


What do we need itertools for?

And how do we use them?

6/6/2021 2:01:13 PM


2 Answers

New Answer


Hey Itertools can be used to make fast and memory efficient code, as they involve dealing with iterators. Well, I'm not sure about any situation in which I'd use them, as python itself is pretty slow and memory inefficient.


Hey guys, sorry for making the tag nothing, this was my first time asking a question in sololearn, so i didn't know what the tag meant, so I kept it nothing, please don"t hate, I see you guys thought i answered my own question as 'nothing' but no that's not that case, hope you understand. I have changed the tag to itertools.