Skip to content

bequbed/factorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Factorial Calculator

This Python program calculates the factorial of a non-negative integer. The factorial of a non-negative integer n, denoted as n!, is the product of all positive integers less than or equal to n.

How to Use

  1. Run the factorial.py script by executing the following command in your terminal or command prompt:

  2. You will be prompted to enter a non-negative integer.

  3. The program will calculate and display the factorial of the entered number.

Example

Note

  • Factorial is not defined for negative numbers. If you enter a negative number, the program will raise a ValueError.

Author

[bequbed]

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages