Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A short Python program that finds the factorial of a positive integer.

License

NotificationsYou must be signed in to change notification settings

new2code/python-factorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

A short Python program that finds the factorial of a positive integer.

Setup and run

Prerequisites

Before you can run this program, you need toinstall Python on your system.

Cloning the repository

To clone this repository locally, run the following command from your terminal:

git clone https://github.com/new2code/python-factorial.git

Running the program

  1. To open the repository's directory, run the following command from your terminal:

    cd python-factorial
  2. To calculate the factorial of a specific number, infactorial_finder.py, update the value ofnumber.

  3. 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp