Skip to content

Latest commit

 

History

History
20 lines (20 loc) · 577 Bytes

README.md

File metadata and controls

20 lines (20 loc) · 577 Bytes

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