Skip to content

Assignment 1#1

Open
dspanesar wants to merge 1 commit intomainfrom
assignment-1
Open

Assignment 1#1
dspanesar wants to merge 1 commit intomainfrom
assignment-1

Conversation

@dspanesar
Copy link
Copy Markdown
Owner

Completed assignment-1 by Darshan Panesar

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

For this change I edited and completed the Python Assignment 1 - Jupyter Notebook file. Code was added for the 2 sections and some of the blocks were commented out.

What did you learn from the changes you have made?

I learned quite a bit from the first part of this module. Foremost I familiarized myself with various data types in python, how to write functions, different operations in python for specific data types, how to work with these datatypes, etc. For this section I practiced writing functions, if and else statements and returns. Once the function is written, it took various inputs (words, and Boolean) and executed lines of code depending on what inputs were given.

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

n/a

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

There were some initial challenge for arranging the words such that they could be uniformly compared however I reviewed the lectures for more information and practice. I also ran into some issues using semicolons which had to be fixed to colons (something that carried over from the sql section).

How were these changes tested?

I tested the changes I made with the provided test inputs for the functions. I also checked them with my own inputs to make sure.

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

n/a

Checklist

  • I can confirm that my changes are working as intended

Completed assignment-1 by Darshan Panesar
Copy link
Copy Markdown

@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. One note for conciseness: sorted_word_a == sorted_word_b already evaluates to True or False, so the manual statement is unnecessary.

@dspanesar dspanesar changed the title Add files via upload Assignment 1 May 13, 2025
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