Topic: Mathematics Problem / Level: advanced

Problem: Implement a function to calculate the sum of the first n perfect squares.

Run the code to see the output here...