Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add division functionality and test #6

Merged
merged 7 commits into from
Nov 1, 2022
Merged

Add division functionality and test #6

merged 7 commits into from
Nov 1, 2022

Conversation

aliyansrddn
Copy link
Collaborator

Resolves #3

@aliyansrddn aliyansrddn requested a review from nikishe November 1, 2022 11:20
Copy link
Owner

@nikishe nikishe left a comment

Choose a reason for hiding this comment

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

Hey Aliya, Can you please make the necessary changes

@@ -0,0 +1,2 @@
def divide(x, z):
Copy link
Owner

Choose a reason for hiding this comment

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

Can you please change the parameters "y" instead of "z"

Suggested change
def divide(x, z):
def divide(x, y):

Copy link
Collaborator

@danMCawesome danMCawesome left a comment

Choose a reason for hiding this comment

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

There is a small typo, the input to the function is defined incorrectly.

Thank you.

@@ -0,0 +1,2 @@
def divide(x, z):
Copy link
Collaborator

Choose a reason for hiding this comment

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

The input to the function should be:
def divide(x, y)

Copy link
Collaborator

@danMCawesome danMCawesome left a comment

Choose a reason for hiding this comment

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

Thank you for updating

@davidwilby
Copy link

Aha! Your test_divide.py file should be in tests/ not test/

@davidwilby
Copy link

@aliyansrddn you need to move the file into the right location

@aliyansrddn aliyansrddn merged commit 9d1cb6c into main Nov 1, 2022
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.

[FEATURE] Add division function
4 participants