Skip to content

This script will generate a Pascal's Triangle and pretty print it :-)

License

Notifications You must be signed in to change notification settings

Popzi/Pascals-Triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Pascal's Triangle

This script was written in the course Logic and Maths for Computing/Computer science. The task was to generate and print a pascal's triangle. This script prettyprints it :)

I must warn that this script is not the best example of following standard naming conventions but I will blame it on being a student and not knowing better :-)

Run the script

The script is interactive and will ask runtime questions.

$ python triangle.py

Remember

  • This was a school assignment during my time studying IT-Security and Software testing - this is not guaranteed to work 100%.
  • Do not copy and use this in your school assignments, instead learn from it and improve it.
  • This will not be maintained by me, this is uploaded for safekeeping online.

License

MIT

Free Software, Hell Yeah!

About

This script will generate a Pascal's Triangle and pretty print it :-)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages