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 details)

Uploaded Source

File details

Details for the file PascalsTriangle-0.2.tar.gz.

File metadata

File hashes

Hashes for PascalsTriangle-0.2.tar.gz
Algorithm Hash digest
SHA256 8f59db4c43727e835e151f2b7ba47682483f9d2ab6011b624950bb124747a6f7
MD5 b7dedeb732b3b87123cd3c3fe2d13bde
BLAKE2b-256 593350c2fa5935979daf7646bceadc4f687bf2ca8c3a8356a67ee6e45713e1d2

See more details on using hashes here.

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