Skip to content

Update compress challenge with itertools.groupby() code #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Duroktar
Copy link

Knowing that itertools.groupby() can be confusing to learn, I jumped at the opportunity to use it for a solution here. Hopefully it may help someone :D

Cheers

P.S. I am unsure about the code complexity of the response, but I took great care to detail the implementation in a style not too discordant with the other examples. I also updated the test to include the new code.

@donnemartin
Copy link
Owner

Hi @Duroktar, thanks for the PR! I hope to have it reviewed within the next few days.

@Duroktar
Copy link
Author

Great to hear! Thanks :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants