Skip to content

Assignment 2#2

Open
kaylenejchan wants to merge 2 commits intomainfrom
assignment-2
Open

Assignment 2#2
kaylenejchan wants to merge 2 commits intomainfrom
assignment-2

Conversation

@kaylenejchan
Copy link
Copy Markdown
Owner

@kaylenejchan kaylenejchan commented Mar 20, 2026

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

@Dmytro-Bonislavskyi Dmytro-Bonislavskyi left a comment

Choose a reason for hiding this comment

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

Well done! Also I like that you added "exception handling" here:

    else:
        # If the operation is not one of the expected values, raise an error
        raise ValueError("Invalid operation. Please choose 'mean', 'max', or 'min'.")

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