Skip to content

triangle: Added parameters to exercise placeholder #761

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

Merged
merged 1 commit into from
Oct 8, 2017

Conversation

rozuur
Copy link
Contributor

@rozuur rozuur commented Oct 7, 2017

fixes #647

@ilya-khadykin ilya-khadykin changed the title Added parameters to triangle triangle: Added parameters to exercise placeholder Oct 7, 2017
@@ -3,5 +3,8 @@ class TriangleError(Exception):


class Triangle(object):
def __init__(self):
def __init__(self, x, y, z):
Copy link
Contributor

Choose a reason for hiding this comment

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

Honestly, I don't like single character names. Could you change them to something more meaningful

A good Python style guide from Google - https://google.github.io/styleguide/pyguide.html?showone=Naming#Naming

Copy link
Contributor Author

Choose a reason for hiding this comment

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

what do you propose? I have two suggestions, edge_1, edge_2, edge_3 or side_a, side_b, side_c

Copy link
Contributor

@ilya-khadykin ilya-khadykin left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

Please take a look at my comment

Copy link
Contributor

@ilya-khadykin ilya-khadykin left a comment

Choose a reason for hiding this comment

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

👍

@ilya-khadykin ilya-khadykin merged commit 2faa00c into exercism:master Oct 8, 2017
@ilya-khadykin
Copy link
Contributor

@rozuur thanks for your PR

Just for future reference a guide of how to write good commit messages - https://chris.beams.io/posts/git-commit/#seven-rules

@rozuur
Copy link
Contributor Author

rozuur commented Oct 8, 2017

Thanks @m-a-ge

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.

triangle: add parameters to exercise placeholder
2 participants