Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Create a Python function to compare two strings using a Boolean equivalence comparator to determine whether the strings contain the same alphabetic characters by passing two (supplied) arguments into the anagram_checker function.
What did you learn from the changes you have made?
In developing the code at an earlier stage, I printed the strings after sorting them to see how Python was sorting them. I then added a sorted.() key optional key str.casefold parameter to sort the strings alphabetically, regardless of case (i.e., upper case letters no longer indexed at the front of the string value). I realized I could use this key function to compare strings where the checker is required to be case sensitive. I also had to work on aligning my code within the function correctly so that it would run without throwing an error.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
No, I didn't have time.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
I am still working on navigating between git bash and GitHub and VS code, to better understand what I'm actually doing. I relied on internet searches of the sorted.() function and Boolean value comparisons to generate ideas for my coding, as well as the course slides and supplied links (e.g., https://docs.python.org/3.13/library/index.html).
How were these changes tested?
I relied on my printed strings to understand where to make changes. For example: # Print the two sorted string lists
print('String one: ', sorted_worda). I ran my code, compared the outputs with the referenced outputs in the assignment questions, and continued modifying my code until the outputs were correct.
A reference to a related issue in your repository (if applicable)
Checklist