Quote (SleepyUnit @ Jun 29 2014 05:53pm)
I think it's not working because it shows n/2 is a float of 3.0, trying to fix it lol
Oh shoot I probably should have thought of that.
I had this same problem moving from python2 to python3. I ended up having to wrap almost all of my calculations in "int()"
int(n/2) or int(floor(n/2))