Skip to content

Add the functions for checking anagram#1

Open
benjso wants to merge 1 commit intomainfrom
assignment-1
Open

Add the functions for checking anagram#1
benjso wants to merge 1 commit intomainfrom
assignment-1

Conversation

@benjso
Copy link
Copy Markdown
Owner

@benjso benjso commented May 4, 2024

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

Added the Anagram Checker into the file

What did you learn from the changes you have made?

Python data types, operators and functions, etc.

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

n/a

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

Got the questions addressed by the Instructor and TA team in the sessions.

How were these changes tested?

Executed the code with verification

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

n/a

@mentions of the person or team responsible for reviewing proposed changes (At least 2 people)

Checklist

  • I can confirm that my changes are working as intended

@benjso
Copy link
Copy Markdown
Owner Author

benjso commented May 4, 2024

#1

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. your code executes without error and is well commented. One suggestion for improvement would be conciseness of your code and removal of un-necessary lines. For example, part 1 of this assignment could be coded in two lines:

def anagram_checker(word_a, word_b):
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.

3 participants