- 4

What do we need itertools for?

And how do we use them?

6th Jun 2021, 2:01 PM
Vader Guy
Vader Guy - avatar
2 ответов
0
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.
6th Jun 2021, 2:20 PM
Calvin Thomas
Calvin Thomas - avatar
+ 2
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.
10th Jun 2021, 10:54 AM
Vader Guy
Vader Guy - avatar