- Notifications
You must be signed in to change notification settings - Fork12
A short Python program that finds the factorial of a positive integer.
License
new2code/python-factorial
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A short Python program that finds the factorial of a positive integer.
Before you can run this program, you need toinstall Python on your system.
To clone this repository locally, run the following command from your terminal:
git clone https://github.com/new2code/python-factorial.git
To open the repository's directory, run the following command from your terminal:
cd python-factorial
To calculate the factorial of a specific number, in
factorial_finder.py
, update the value ofnumber
.To run the program on Mac or Linux, run the following command in your terminal:
python factorial.py
Otherwise, to run the program on Windows, run the following command from the command line:
py factorial.py
About
A short Python program that finds the factorial of a positive integer.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.