We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
The description says "using lower() to ensure consistent capitalization."
But the proposed solution is missing it:
def reference_exercise3(words: List[str]) -> List[Tuple[str, int]]: return [(k, len(list(v))) for k, v in itertools.groupby(sorted(words, key=lambda x: x[0]), key=lambda x: x[0])]
perhaps:
itertools.groupby(sorted(words, key=lambda x: x[0].lower()), key=lambda x: x[0].lower()):
The text was updated successfully, but these errors were encountered:
Thanks, @SerAcero! 😉
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
The description says "using lower() to ensure consistent capitalization."
But the proposed solution is missing it:
perhaps:
The text was updated successfully, but these errors were encountered: