Skip to content

added code blocks to the assessment 1#1

Merged
MK-DSI merged 1 commit intomainfrom
assignment-1
Sep 7, 2024
Merged

added code blocks to the assessment 1#1
MK-DSI merged 1 commit intomainfrom
assignment-1

Conversation

@MK-DSI
Copy link
Copy Markdown
Owner

@MK-DSI MK-DSI commented Sep 7, 2024

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

Added 2 blocks of code to assess whatever the 2 words are anagrams or not, in first case not case sensitive, in the second - case sensitive.

What did you learn from the changes you have made?

How to write more complex code! Exciting. IF/ELSE functions and how to transition string to list, how to use methods with strings and lists.

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

Yes, especially in the case of the Part 2. Capital letters are sorted separately, some considerations and additional manipulations can be tested.

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

One, I struggled for 5-10 minutes with .UPPER or .LOWER methods and immutability of the string format. Logic of method was a bit confusing, but I have quickly figured that out.

How were these changes tested?

I worked in my VS code, broke the code into simpler tasks and bits until all individual commands worked, then pulled them together into one code.

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

Not very clear question, N/A

Checklist

  • [YES ] I can confirm that my changes are working as intended

@MK-DSI
Copy link
Copy Markdown
Owner Author

MK-DSI commented Sep 7, 2024

Assignment 1 was completed last week, but the pull request was done to the DSI main, and did not go through, this is an attempt to merge into MK-DSI main.

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.

1 participant