Skip to content

Create Add factorial function utility#4288

Open
zachning wants to merge 1 commit intorishabh-bansal:masterfrom
zachning:master
Open

Create Add factorial function utility#4288
zachning wants to merge 1 commit intorishabh-bansal:masterfrom
zachning:master

Conversation

@zachning
Copy link
Copy Markdown

@zachning zachning commented Apr 9, 2026

Description:

Added factorial(n) to compute the factorial of a non-negative integer. Raises ValueError for negative inputs.
Added example usage in main.

Description:

Added factorial(n) to compute the factorial of a non-negative integer.
Raises ValueError for negative inputs.
Added example usage in __main__.
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.

1 participant