Can anyone explain me how groupby() from itertools work in py? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can anyone explain me how groupby() from itertools work in py?

I can't understand it explained in the official documentation.

9th Dec 2017, 2:01 PM
Mohit Negi
Mohit Negi - avatar
1 Answer
0
see the code which is a response for a challenge using group by. https://code.sololearn.com/c5Kfh3bTlKn6/?ref=app you can find some additional information in the comments. if still unclear, ask.
10th Dec 2017, 11:51 AM
yuri