Skip to content

Create sol5.py #425

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
May 26, 2019
Merged

Create sol5.py #425

merged 1 commit into from
May 26, 2019

Conversation

alpylmz
Copy link
Contributor

@alpylmz alpylmz commented Oct 5, 2018

added a solve for the problem

added a solve for the problem
@shivg7706
Copy link
Contributor

@alpylmz follow PEP8

Copy link
Contributor

@vikaskyadav vikaskyadav 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 PR name to a easily understandable title.

@AnupKumarPanwar AnupKumarPanwar merged commit dd62f1b into TheAlgorithms:master May 26, 2019
@cclauss
Copy link
Member

cclauss commented May 30, 2019

@alpylmz Line 3 is a Python syntax error. Could you please fix that and resubmit?

@mrWiecek
Copy link

mrWiecek commented Jun 7, 2019

Shouldn't this solution be in project euler folder with all other solutions?

@cclauss
Copy link
Member

cclauss commented Jun 7, 2019

Does this solution actually solve the problem?

@mrWiecek
Copy link

mrWiecek commented Jun 7, 2019

No it doesn't. With the syntax error you mentioned fixed it still creates infinite loop and it doesn't follow pep8. Now I see.

@cclauss
Copy link
Member

cclauss commented Jun 7, 2019

And will it solve the problem even if the syntax error is fixed?

while a=<1000: -> while a<=1000:

@mrWiecek
Copy link

mrWiecek commented Jun 7, 2019

No it won't. Logic has to be changed.

@cclauss
Copy link
Member

cclauss commented Jun 7, 2019

Should we delete this file?

@mrWiecek
Copy link

mrWiecek commented Jun 7, 2019

Yes.

@shuklalok
Copy link
Contributor

Yes, delete this file. File path, logic and standards - all incorrect.

cclauss added a commit to cclauss/Python that referenced this pull request Jun 8, 2019
As discussed at TheAlgorithms#425 (comment) this file contains syntax, logic, style, and naming errors that are causing our LGTM build process to fail.  

@StephenGemin, @shuklalok, @vikaskyadav, @poyea, @mrWiecek your reviews please.
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.

7 participants