Skip to content

Create sol5.py#425

Merged
AnupKumarPanwar merged 1 commit into
TheAlgorithms:masterfrom
alpylmz:patch-1
May 26, 2019
Merged

Create sol5.py#425
AnupKumarPanwar merged 1 commit into
TheAlgorithms:masterfrom
alpylmz:patch-1

Conversation

@alpylmz

@alpylmz alpylmz commented Oct 5, 2018

Copy link
Copy Markdown
Contributor

added a solve for the problem

added a solve for the problem
@shivg7706

Copy link
Copy Markdown
Contributor

@alpylmz follow PEP8

@ctrlaltvikas ctrlaltvikas left a comment

Copy link
Copy Markdown
Contributor

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

cclauss commented May 30, 2019

Copy link
Copy Markdown
Member

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

@mrWiecek

mrWiecek commented Jun 7, 2019

Copy link
Copy Markdown

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

@cclauss

cclauss commented Jun 7, 2019

Copy link
Copy Markdown
Member

Does this solution actually solve the problem?

@mrWiecek

mrWiecek commented Jun 7, 2019

Copy link
Copy Markdown

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

cclauss commented Jun 7, 2019

Copy link
Copy Markdown
Member

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

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

@mrWiecek

mrWiecek commented Jun 7, 2019

Copy link
Copy Markdown

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

@cclauss

cclauss commented Jun 7, 2019

Copy link
Copy Markdown
Member

Should we delete this file?

@mrWiecek

mrWiecek commented Jun 7, 2019

Copy link
Copy Markdown

Yes.

@shuklalok

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