Friday, February 10, 2017

Abstractedly Gaussian

With the main part of the program contained into one abstraction, the math becomes far more simple. The program is squished down into one defined function. The python program has the defined function 'gauss addition' with a 'total' parameter. Total has been set to zero. With gaussian math, adding 1-100 becomes easier. Having to write out that would be tough, and that is what my program does instead. The abstraction takes all of the addition and puts it into one. There is a while loop, along with math, printing and returning.

No comments:

Post a Comment