Skip to content

UofT-DSI | python - Assignment 1#1

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

UofT-DSI | python - Assignment 1#1
cinnabon911 wants to merge 1 commit intomainfrom
assignment-1

Conversation

@cinnabon911
Copy link
Copy Markdown
Owner

@cinnabon911 cinnabon911 commented May 3, 2024

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

Added python code for the anagram checker

What did you learn from the changes you have made?

list comprehension. Conditional statements. Writing functions.

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

No.

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

No.

How were these changes tested?

With provided test cases.

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

@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

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 executes without error. My comments for improvement would be to comment your code for clarity and reduce amount of code whenever possible for conciseness. for example:
Part A
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.

2 participants