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

Problem 234 project Euler #883

Merged
merged 10 commits into from
Jun 16, 2019
Merged

Problem 234 project Euler #883

merged 10 commits into from
Jun 16, 2019

Conversation

archithadge
Copy link
Contributor

No description provided.

Copy link
Member

@cclauss cclauss left a comment

Choose a reason for hiding this comment

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

Please change the filename so that it ends in .py.

Also, please add a comment at the top of the file that links to the problem statement:
# https://projecteuler.net/problem=234

Copy link

@eamanu eamanu left a comment

Choose a reason for hiding this comment

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

Some pep8 revisions

@cclauss
Copy link
Member

cclauss commented Jun 8, 2019

Or automate the process by running python/black.

@eamanu
Copy link

eamanu commented Jun 8, 2019

Or automate the process by running python/black.

+1

archithadge and others added 7 commits June 10, 2019 22:55
Co-Authored-By: Emmanuel Arias <emmanuelarias30@gmail.com>
Co-Authored-By: Emmanuel Arias <emmanuelarias30@gmail.com>
Co-Authored-By: Emmanuel Arias <emmanuelarias30@gmail.com>
Co-Authored-By: Emmanuel Arias <emmanuelarias30@gmail.com>
Co-Authored-By: Emmanuel Arias <emmanuelarias30@gmail.com>
Co-Authored-By: Emmanuel Arias <emmanuelarias30@gmail.com>
Copy link

@eamanu eamanu left a comment

Choose a reason for hiding this comment

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

I left a comments. But I think this could be merge :-)

return b
elif n==3:
return str(a)+str(b)
else:
Copy link

Choose a reason for hiding this comment

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

I think this else could be ignore. Because never will be go to else if return occur before. (Just a comment)

and temp=0 could be defined after the ifs. This way we could avoid use memory when is not necessary.

@archithadge
Copy link
Contributor Author

archithadge commented Jun 11, 2019 via email

else was not required
temp declared afterwards
suggested changes are correct.Thank u!
@archithadge
Copy link
Contributor Author

Are you going to merge it?

@eamanu
Copy link

eamanu commented Jun 12, 2019

Are you going to merge it?

You should wait for the commiters to merge it. I CC @poyea

Copy link
Member

@poyea poyea 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 your pull request!🤩

@poyea poyea merged commit 6e2fb22 into TheAlgorithms:master Jun 16, 2019
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.

4 participants