Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update find-factorial.md #110

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

Closed
starryknight64 wants to merge 1 commit into quicksnip-dev:main from starryknight64:patch-1

Conversation

Copy link

@starryknight64 starryknight64 commented Jan 2, 2025

Use Python's built-in factorial function

Description

Type of Change

  • ✨ New snippet
  • πŸ›  Improvement to an existing snippet
  • 🐞 Bug fix
  • πŸ“– Documentation update
  • πŸ”§ Other (please describe):

Checklist

  • I have tested my code and verified it works as expected.
  • My code follows the style and contribution guidelines of this project.
  • Comments are added where necessary for clarity.
  • Documentation has been updated (if applicable).
  • There are no new warnings or errors from my changes.

Related Issues

Closes #

Additional Context

Screenshots (Optional)

Click to view screenshots

Use Python's built-in factorial function
Copy link

netlify bot commented Jan 2, 2025
edited
Loading

βœ… Deploy Preview for quicksnip ready!

Name Link
πŸ”¨ Latest commit 606c871
πŸ” Latest deploy log https://app.netlify.com/sites/quicksnip/deploys/67761a3a0d5b8a00095f2b15
😎 Deploy Preview https://deploy-preview-110--quicksnip.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@Mathys-Gasnier Mathys-Gasnier left a comment

Choose a reason for hiding this comment

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

As this now just wraps over a standard library function without additional functionnality, I think we are safe to delete this snippet. Feel free to push a commit deleting it to your PR we will then merge

Copy link
Author

Should this be done for other lesser-known Python functionality too?

For instance:
https://github.com/dostonnabotov/quicksnip/blob/main/snippets/python/string-manipulation/reverse-string.md

Copy link
Collaborator

Anything that has a one std function alternative shouldn't be here, but i don't think reversing a string has one ?

Copy link
Collaborator

saminjay commented Jan 9, 2025

Closing this as stale.
If you want to contribute, please create a new PR following our guidelines.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@Mathys-Gasnier Mathys-Gasnier Mathys-Gasnier requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /