8/9 Part of the Whole returning wrong average


#1

N/M Solved it on my own.


#2

I formatted this post slightly wrong. I accidentally added extra indents after the first library. The actual code does not have that issue.