Skip to content

Conversation

@wilson1yan
Copy link

I've fixed the mod(a,b) function implementation

calc/__init__.py Outdated
def mod(a, b):
res = a % b
return -1
"""Return the mod of 2 integers"""
Copy link
Contributor

Choose a reason for hiding this comment

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

This indentation is incorrect (should be 4 spaces)

assert add(1, 2) == 3

def test_mod():
assert mod(5,2) == 1
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

@stefanv
Copy link
Contributor

stefanv commented Sep 28, 2016

Please rebase on master

assert pow(4,0.5) == 2

def test_mod():
assert mod(5,2) == 1
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.

Please ensure editor is set to indent with 4 spaces.

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