Skip to main content

Calculates the Pascals Triangle, up to a given depth

Project description


Simple script for calculating the Pascals Triangle, up to a given depth.

You can get it by downloading it directly or by typing:

$ pip install PascalsTriangle

After it is installed you can start it by simply typing in your terminal:

$ pascals-triangle 'integer representing desired depth(row) of a Pascals Triangle'

After the script is run result will be saved in text file 'Pascals Triangle.txt' for later reference, beside being printed in the terminal.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PascalsTriangle, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size PascalsTriangle-0.2.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page