Skip to content

Assignment-1 updations by Sucharitha#1

Open
suchi-dev-ai wants to merge 1 commit intomainfrom
assignment-1
Open

Assignment-1 updations by Sucharitha#1
suchi-dev-ai wants to merge 1 commit intomainfrom
assignment-1

Conversation

@suchi-dev-ai
Copy link
Owner

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

modify code to check for anagram

What did you learn from the changes you have made?

string manipulation

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
    Changes to assignment_1.ipynb by Sucharitha .S

Copy link

@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, No need for 'if...else'—the comparison itself returns a boolean
return sorted(word_a.lower()) == sorted(word_b.lower())

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

Comments