Skip to content

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
wants to merge 1 commit into from

Conversation

starryknight64
Copy link

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

βœ… 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

@starryknight64
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

@Mathys-Gasnier
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 ?

@saminjay
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

@saminjay saminjay closed this Jan 9, 2025
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