Skip to content

Conversation

@JustinMi
Copy link

@JustinMi JustinMi commented Sep 28, 2016

Fixed the mul function so it properly multiplies two numbers

@stefanv
Copy link
Contributor

stefanv commented Sep 28, 2016

Try to add meaningful commit messages.

"""
Returns the product of A and B
"""
return a * b
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add tests for this functionality.


def mul(a, b):
return b
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

Incorrect indentation

assert add(1, 2) == 3

def test_mul():
assert mul(2, -3) == -6
Copy link
Contributor

Choose a reason for hiding this comment

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

Also incorrectly indented

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