Skip to content

Assignment 1#1

Open
khollah1 wants to merge 7 commits intomainfrom
Assignment-1
Open

Assignment 1#1
khollah1 wants to merge 7 commits intomainfrom
Assignment-1

Conversation

@khollah1
Copy link
Copy Markdown
Owner

@khollah1 khollah1 commented May 4, 2024

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports) I updated the Assignment 1 file with my code and answers.

What did you learn from the changes you have made?

Creating a function to evaluate anagram checker using sorted and Lower functions.

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

I was open to learning so I didnt have any approach in mind.

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

None. The lecture notes and video was enough to get through the assignment.

How were these changes tested?

I ran the code on python to evaluate the outcomes.

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

None

Checklist

  • I can confirm that my changes are working as intended

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.

Part B executes with error. your function should consider case sensitivity; for example
anagram_checker("Slient", "liSten", True) should return True!
Please revise

Copy link
Copy Markdown
Owner Author

@khollah1 khollah1 left a comment

Choose a reason for hiding this comment

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

I have updated my assignment-1 part 2 code for your review. Thank you.

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.

Part B executes with error, hint- you need to take into consideration case sensitivity when the third argument is true. eg if we care about case sensitivity, Silent and Listen would return false, but Silent and liSten would return true . please revise

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.

Great! Your code is well executed and concise. Be sure to comment your code for improved clarity

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