Skip to content

Assignment 2#2

Open
samojoo wants to merge 1 commit intomainfrom
assignment-2
Open

Assignment 2#2
samojoo wants to merge 1 commit intomainfrom
assignment-2

Conversation

@samojoo
Copy link
Copy Markdown
Owner

@samojoo samojoo commented Sep 1, 2025

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

  • I can confirm that my changes are working as intended

Copy link
Copy Markdown

@xindizhang xindizhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! No changes requested.

Just a few quick style comments:

  • Part 1: Keep related logic inside the with block (e.g., your for loop to read each line).
  • Part 1: Use meaningful variable names for clarity.
  • In Part 3, since check_zeros already returns True or False, you don’t need extra return True / return False statements — relying on the function’s return directly makes the code cleaner.

Quick reminder for future submissions — including a brief PR description is good practice, as it helps your teammates quickly understand what’s going on.

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