Compress the String!

  • + 3 comments

    "In this task, we would like for you to appreciate the usefulness of the groupby() function of itertools . To read more about this function, Check this out ."

    This is a very bad introduction to "groupby()" function. This omits virtually every aspect of the function that one would need to understand it.

    At the very least the problem description could include an example.

    I had trouble undetstanding how to write a list comprehension over the output of the groupby() function.