Skip to content

update non-recursive factorial #1351

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

Conversation

yuriimchg
Copy link
Contributor

  • wrapped the algorithm with function;
  • add docstring;
  • renamed variables / constants.

@cclauss
Copy link
Member

cclauss commented Oct 18, 2019

https://www.python.org/dev/peps/pep-0257/#multi-line-docstrings does not encourage overindenting docstrings.

@cclauss cclauss merged commit 870eebf into TheAlgorithms:master Oct 18, 2019
stokhos pushed a commit to stokhos/Python that referenced this pull request Jan 3, 2021
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.

3 participants