Skip to content

Comments

Improve factorial implementation with proper edge case handling and documentation#1

Open
nihals007 wants to merge 1 commit intoAishwarya1025:mainfrom
nihals007:improve-factorial-edge-case
Open

Improve factorial implementation with proper edge case handling and documentation#1
nihals007 wants to merge 1 commit intoAishwarya1025:mainfrom
nihals007:improve-factorial-edge-case

Conversation

@nihals007
Copy link

  • Added validation for negative numbers
  • Improved error handling
  • Refactored code into a function
  • Added documentation comments

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