Python Assignment 1 #1
Merged
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)
I added code to define a function (anagram_checker), followed by running the code to see if it passes different parameters.
What did you learn from the changes you have made?
I learnt how to define a function and its parameters, as well as toggling case sensitivity on/off. I also learnt how to set up a python environment and activate it in VS Code
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
I followed the assignment's instructions and completed the assignment in VS code using a python environment.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
The main challenge was figuring out how to turn off case sensitivity, but a quick google search helped me find a list of functions and then choose one. I also think I probably don't need the boolean check argument in the second code, but I included it just to be thorough (and since it was specified in the instructions that we would be adding a boolean function).
How were these changes tested?
The function was run through the various exercises/examples that followed the code block. I also tested the code with arguments of my own (in a separate notebook) and made sure the function gave back expected results.
A reference to a related issue in your repository (if applicable)
N/A
Checklist