Physics final project

--Originally published at Nihilistic Kirby

Two weeks ago I made a post about ranges in which I included a piece of code, that was a part of my final project (for Physics class).

Although Ken helped me a lot with the use of tuples on it, the code stopped working for some mysterious reason (people tell me that’s normal) and I had only two options: start again from the beginning, or try to find a solution. Obviously the second option wasn’t the best one for my; however, I tried so just in case I could became any better, and I did.

It wasn’t much of a change, but in the end my constant tries and checking some information on Stack Overflow, I got to an easy solution that worked very well, even today when codes can smell fear and break themselves for no reason.

Well, but that’s a lot of writing, lets move to the fun part, the code:

https://github.com/NihilisticKirby/finalpartialphysics (check the repository plz)

finalcode

I worked really hard on this code, and I want to say THANKS to Ken, as he helped me a lot to understand what I wanted to create.