Skip to content

Submit Assignment 1#4

Open
MauxFear wants to merge 2 commits intomainfrom
assignment-1
Open

Submit Assignment 1#4
MauxFear wants to merge 2 commits intomainfrom
assignment-1

Conversation

@MauxFear
Copy link
Copy Markdown
Owner

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

I completed assignment 1 for the module of Python.

What did you learn from the changes you have made?

I learned how to do a function and how to verify its functionality

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

I would like to create a more complex scenario in which the function is not limited to two inputs but can evaluate any number of inputs. One approach would be to use *args.

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

The main challenge was to learn how to write unit tests to evaluate the function's functionality using edge cases. I searched for information in the unit test library documentation and online tutorials.

How were these changes tested?

I run the cells using the designated environment kernel for the course.

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

N/A

Checklist

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

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! Nice use of char.isalnum() to ensure only alphanumeric characters (letters and numbers) are considered and ensuring valid input types

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