Conversation
juliagallucci
left a comment
There was a problem hiding this comment.
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
|
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? |
|
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. |
|
I see this: (python-env) dellanniasegreti@dellannias-MacBook-Pro python % git commit nothing to commit, working tree clean |
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