This is a simple Python program that calculates the factorial of a given number. 📈
Make sure you have the following installed on your system:
- Python 3.x: Download Python
small steps bigger vision
-
Clone the repository or download the ZIP file.
-
Navigate to the project directory using the command prompt (or terminal).
-
Run the program by executing the following command:
python factorial.py
-
Enter a positive integer when prompted.
-
The program will calculate the factorial of the input and display the result.
If you enter 5
as the input, the program will calculate 5!
(factorial of 5) as follows:
5! = 5 * 4 * 3 * 2 * 1 = 120
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
This program was created with love and inspiration from the Python community.
If you have any questions or need further assistance, feel free to reach out to me at [email protected].
Happy coding! 💻