Skip to content

Problem 234 project Euler#883

Merged
poyea merged 10 commits into
TheAlgorithms:masterfrom
archithadge:master
Jun 16, 2019
Merged

Problem 234 project Euler#883
poyea merged 10 commits into
TheAlgorithms:masterfrom
archithadge:master

Conversation

@archithadge
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
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
Copy Markdown

@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

Comment thread project_euler/problem_234 Outdated
Comment thread project_euler/problem_234 Outdated
Comment thread project_euler/problem_234 Outdated
Comment thread project_euler/problem_234 Outdated
Comment thread project_euler/problem_234 Outdated
Comment thread project_euler/problem_234 Outdated
@cclauss
Copy link
Copy Markdown
Member

cclauss commented Jun 8, 2019

Or automate the process by running python/black.

@eamanu
Copy link
Copy Markdown

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
Copy Markdown

@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 :-)

Comment thread project_euler/problem_234.py Outdated
return b
elif n==3:
return str(a)+str(b)
else:
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Contributor Author

Are you going to merge it?

@eamanu
Copy link
Copy Markdown

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
Copy Markdown
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