Skip to content

Made the anagram checker#1

Open
hyder1041 wants to merge 1 commit intomainfrom
assignment-one
Open

Made the anagram checker#1
hyder1041 wants to merge 1 commit intomainfrom
assignment-one

Conversation

@hyder1041
Copy link
Copy Markdown
Owner

@hyder1041 hyder1041 commented Aug 23, 2025

using Counter from collections library

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

What did you learn from the changes you have made?

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

How were these changes tested?

A reference to a related issue in your repository (if applicable)

Checklist

  • I can confirm that my changes are working as intended

using Counter from collections library
Copy link
Copy Markdown

@juliagallucci juliagallucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good! One note for improvement, you don’t need if/else for the actual comparison, since sorted(word_a) == sorted(word_b) already returns True or False.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants