Skip to content

Python script to compute the factorial of an integer

Notifications You must be signed in to change notification settings

thartshorne/factorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is small Python script that computes the factorial of an integer.

  • Clone this code with:
    git clone https://github.com/PrincetonUniversity/jenkins_tutorial.git
    
  • This code is written for Python 3, on Princeton University clusters the default Python is a version 2. So, to get this to work on say adroit, you need to load an environment module:
    $ module load anaconda3
    
  • To run the code:
    $ cd jenkins_tutorial
    $ python factorial.py 3
    
  • To run the test:
    python test.py
    

About

Python script to compute the factorial of an integer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages