/Trinomial-Triangle

This script will calculate the coefficient of a trinomial triangle for N rows

Primary LanguagePythonMIT LicenseMIT

Trinomial triangle

This script was written in the course Logic and Maths for Computing/Computer science. The task was to generate and calculate a trinomial triangles coefficients.

Formula Formula Formula Formula

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 trinomial.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!