Skip to content

Python Assignment 1#1

Open
segretid wants to merge 1 commit intomainfrom
assignment
Open

Python Assignment 1#1
segretid wants to merge 1 commit intomainfrom
assignment

Conversation

@segretid
Copy link
Owner

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

@segretid segretid changed the title this was my frst try Python Assignment 1 Mar 16, 2026
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 attempt using symmetric_difference(), but there are a few issues. {word_a} and {word_b} create sets containing the whole word rather than sets of letters—you should use set(word_a) and set(word_b). Also, symmetric_difference() cannot be called on strings, and the function should return True or False instead of printing them. Finally, using sets alone may not correctly detect anagrams because duplicate letters are ignored. Please revise

@segretid
Copy link
Owner Author

segretid commented Mar 18, 2026

Hi Julia! That is helpful feedback - thank you!! I wonder how I will know how to use the boolean is_case_sensitive? Should I search this up online?

@juliagallucci
Copy link

if is_case_sensitive is False, that means we dont care about case sensitivity and can convert all the letters in the word to the same casing, if is_case_sensitive is True, that means we do care about case sensitivity and you should keep the words as is.

@segretid
Copy link
Owner Author

I see this:

(python-env) dellanniasegreti@dellannias-MacBook-Pro python % git commit
On branch assignment1
Your branch is up to date with 'origin/assignment1'.

nothing to commit, working tree clean
(python-env) dellanniasegreti@dellannias-MacBook-Pro python %

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