Skip to main content

Calculates the Pascals Triangle, up to a given depth

Project description

PascalsTriangle

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.

Source Distribution

PascalsTriangle-0.2.tar.gz (1.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page